Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
import java.net.URL;
import java.util.Arrays;

import org.eclipse.microprofile.config.inject.ConfigProperty;
import org.eclipse.microprofile.config.ConfigProvider;
import org.eclipse.microprofile.lra.annotation.LRAStatus;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

import io.quarkus.test.common.http.TestHTTPEndpoint;
Expand All @@ -26,9 +27,14 @@
@TestHTTPEndpoint(TransactionalResource.class)
public class LRAParticipantTest {

@ConfigProperty(name = "quarkus.lra.coordinator-url")
private String coordinatorEndpoint;

@BeforeEach
public void setup() {
this.coordinatorEndpoint = ConfigProvider.getConfig()
.getValue("quarkus.lra.coordinator-url", String.class);
}

// test that the JAX-RS ServerLRAFilter can start and end an LRA in a single business method
@Test
public void testLRAStartEnd() throws IOException {
Expand Down
Loading