From 56c25371bc3267b3dde04280070f1d41adb56fb9 Mon Sep 17 00:00:00 2001 From: Michael Musgrove Date: Thu, 10 Oct 2024 11:24:39 +0100 Subject: [PATCH] JBTM-3934 test changes after moving the client API into an internal package --- .../arquillian/appender/MpLraTckAuxiliaryArchiveAppender.java | 1 + .../src/test/java/io/narayana/lra/arquillian/Deployer.java | 1 + .../io/narayana/lra/arquillian/LRACoordinatorRecoveryIT.java | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rts/lra/test/arquillian-extension/src/main/java/io/narayana/lra/arquillian/appender/MpLraTckAuxiliaryArchiveAppender.java b/rts/lra/test/arquillian-extension/src/main/java/io/narayana/lra/arquillian/appender/MpLraTckAuxiliaryArchiveAppender.java index b739ab13e0..b4a0f95b20 100644 --- a/rts/lra/test/arquillian-extension/src/main/java/io/narayana/lra/arquillian/appender/MpLraTckAuxiliaryArchiveAppender.java +++ b/rts/lra/test/arquillian-extension/src/main/java/io/narayana/lra/arquillian/appender/MpLraTckAuxiliaryArchiveAppender.java @@ -61,6 +61,7 @@ public Archive createAuxiliaryArchive() { "io.narayana.lra.filter", "io.narayana.lra.provider", "io.narayana.lra.client", + "io.narayana.lra.client.internal", "org.eclipse.microprofile.lra") .addPackages(true, "io.narayana.lra.client.internal.proxy", diff --git a/rts/lra/test/basic/src/test/java/io/narayana/lra/arquillian/Deployer.java b/rts/lra/test/basic/src/test/java/io/narayana/lra/arquillian/Deployer.java index 5194e8e9fd..53291d4b35 100644 --- a/rts/lra/test/basic/src/test/java/io/narayana/lra/arquillian/Deployer.java +++ b/rts/lra/test/basic/src/test/java/io/narayana/lra/arquillian/Deployer.java @@ -26,6 +26,7 @@ public static WebArchive deploy(String appName, Class... participants) { "io.narayana.lra.filter", "io.narayana.lra.provider", "io.narayana.lra.client", + "io.narayana.lra.client.internal", "io.narayana.lra.arquillian.spi") // adds the TestBase class, the test class itself seems to be uploaded during deployment by Arquillian // then it requires the parent class as well, otherwise Weld NoClassDefFoundError is shown diff --git a/rts/lra/test/crash/src/test/java/io/narayana/lra/arquillian/LRACoordinatorRecoveryIT.java b/rts/lra/test/crash/src/test/java/io/narayana/lra/arquillian/LRACoordinatorRecoveryIT.java index 5f402ddfb1..315dc415f1 100644 --- a/rts/lra/test/crash/src/test/java/io/narayana/lra/arquillian/LRACoordinatorRecoveryIT.java +++ b/rts/lra/test/crash/src/test/java/io/narayana/lra/arquillian/LRACoordinatorRecoveryIT.java @@ -7,7 +7,7 @@ import io.narayana.lra.LRAData; import io.narayana.lra.arquillian.resource.LRAListener; -import io.narayana.lra.client.NarayanaLRAClient; +import io.narayana.lra.client.internal.NarayanaLRAClient; import io.narayana.lra.coordinator.domain.model.LongRunningAction; import io.narayana.lra.logging.LRALogger; import org.eclipse.microprofile.lra.annotation.LRAStatus;