Skip to content

Commit

Permalink
test(jans-auth-server): embedded tests are failing after testng upgra…
Browse files Browse the repository at this point in the history
…de to 7.8.0 #6837 (#6838)

* test(jans-auth-server): embedded tests are failing after testng upgrade to 7.8.0 #6837

Signed-off-by: YuriyZ <yzabrovarniy@gmail.com>

* test(jans-auth-server): embedded tests are failing after testng upgrade to 7.8.0 #6837

Signed-off-by: YuriyZ <yzabrovarniy@gmail.com>

---------

Signed-off-by: YuriyZ <yzabrovarniy@gmail.com>
  • Loading branch information
yuriyz committed Nov 29, 2023
1 parent 00922af commit eb4da83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions jans-auth-server/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
<version>6.14.3</version> <!-- we need 6.14.3 due to Arquillian -->
</dependency>
<dependency>
<groupId>jakarta.websocket</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@
import io.jans.as.server.util.Deployments;
import io.jans.util.StringHelper;
import io.jans.util.properties.FileConfiguration;
import jakarta.servlet.Servlet;
import jakarta.servlet.ServletContext;
import jakarta.servlet.ServletException;
import org.apache.commons.io.IOUtils;
import org.eu.ingwar.tools.arquillian.extension.suite.annotations.ArquillianSuiteDeployment;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.OverProtocol;
import org.jboss.arquillian.testng.Arquillian;
import org.jboss.shrinkwrap.api.Archive;
import org.testng.ITestContext;
Expand All @@ -24,14 +20,11 @@

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;

import static org.omnifaces.util.Faces.getServletContext;

/**
* Base class for all seam test which require external configuration
*
Expand All @@ -56,6 +49,7 @@ public void initTestSuite(ITestContext context) throws IOException {
if (initialized) {
return;
}
System.setProperty("testng.ignore.callback.skip", "true");

Reporter.log("Invoked init test suite method", true);

Expand Down

0 comments on commit eb4da83

Please sign in to comment.