Uploaded image for project: 'WildFly Arquillian'
  1. WildFly Arquillian
  2. WFARQ-129

Determine why the TestNG integration fails

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical Critical
    • 5.0.0.Final
    • 4.0.0.Alpha5, 5.0.0.Alpha5
    • None
    • False
    • None
    • False

      The TestNG integration test has been failing for some time, but somehow the test passes. There were loads of CNFE due to Arquillian requiring TestNG 7.5 and WFARQ testing with 6.13. Upgrading shows new errors which don't make a lot of sense. However, they don't seem to have anything to do with the WildFly integration.

      [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 20.613 s <<< FAILURE! - in org.jboss.as.arquillian.testng.BasicTestNGIntegrationTestCase
      [ERROR] shouldBeAbleToInject(org.jboss.as.arquillian.testng.BasicTestNGIntegrationTestCase)  Time elapsed: 15.232 s  <<< FAILURE!
      org.testng.TestNotInvokedException: 
      
      org.jboss.as.arquillian.testng.BasicTestNGIntegrationTestCase.shouldBeAbleToInject defines a callback via org.testng.IHookable but neither the callback was invoked nor the status was altered to SUCCESS|FAILURE|SKIP|SUCCESS_PERCENTAGE_FAILURE
      	at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:695)
      	at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)
      	at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
      	at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)
      	at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)
      	at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
      	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
      	at org.testng.TestRunner.privateRun(TestRunner.java:806)
      	at org.testng.TestRunner.run(TestRunner.java:601)
      	at org.testng.SuiteRunner.runTest(SuiteRunner.java:433)
      	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)
      	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)
      	at org.testng.SuiteRunner.run(SuiteRunner.java:330)
      	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
      	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)
      	at org.testng.TestNG.runSuitesLocally(TestNG.java:1176)
      	at org.testng.TestNG.runSuites(TestNG.java:1099)
      	at org.testng.TestNG.run(TestNG.java:1067)
      	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
      	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112)
      	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
      	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
      	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      
      [INFO] 
      [INFO] Results:
      [INFO] 
      [ERROR] Failures: 
      [ERROR]   BasicTestNGIntegrationTestCase.shouldBeAbleToInject ยป TestNotInvoked 
      org.jbos...
      [INFO] 
      [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: