JAVA-21843: Changes made for resolving failing test cases (#14201)

This commit is contained in:
Bipin kumar 2023-06-09 11:52:47 +05:30 committed by GitHub
parent e6090e6840
commit c8f6fbba0c
2 changed files with 14 additions and 3 deletions

View File

@ -258,6 +258,17 @@
<sourceDestDir>src/main/java</sourceDestDir>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens java.base/java.io=ALL-UNNAMED
</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
@ -523,7 +534,7 @@
<jboss-batch-api.version>1.0.0.Final</jboss-batch-api.version>
<jberet.version>1.0.2.Final</jberet.version>
<jboss-transaction-api.version>1.0.0.Final</jboss-transaction-api.version>
<jboss-marshalling.version>1.4.2.Final</jboss-marshalling.version>
<jboss-marshalling.version>2.1.1.Final</jboss-marshalling.version>
<weld.version>2.1.1.Final</weld.version>
<jersey-container-jetty-servlet.version>2.22.1</jersey-container-jetty-servlet.version>
</properties>

View File

@ -31,9 +31,9 @@ import org.slf4j.LoggerFactory;
@RunWith(Arquillian.class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class CarServiceIntegrationTest {
public class CarServiceLiveTest {
public static final Logger LOG = LoggerFactory.getLogger(CarServiceIntegrationTest.class);
public static final Logger LOG = LoggerFactory.getLogger(CarServiceLiveTest.class);
@Deployment
public static JavaArchive createDeployment() {