Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support @Test(singleThreaded = true) #195

Open
kokosing opened this issue Dec 7, 2016 · 1 comment
Open

Support @Test(singleThreaded = true) #195

kokosing opened this issue Dec 7, 2016 · 1 comment

Comments

@kokosing
Copy link
Contributor

kokosing commented Dec 7, 2016

Now when @Test(singleThreaded = true) is used tempto is failing with an exception that no tests are executed.

@kokosing
Copy link
Contributor Author

kokosing commented Feb 6, 2017

The root case comes fromDataProviders class.

Exception in thread "main" java.lang.NullPointerException
        at com.teradata.tempto.internal.DataProviders.getParametersForMethod(DataProviders.java:45)
        at com.teradata.tempto.internal.initialization.RequirementsExpanderInterceptor.incrementSeenMethodsCount(RequirementsExpanderInterceptor.java:87)
        at com.teradata.tempto.internal.initialization.RequirementsExpanderInterceptor.intercept(RequirementsExpanderInterceptor.java:75)
        at org.testng.TestRunner.intercept(TestRunner.java:777)
        at org.testng.TestRunner.privateRun(TestRunner.java:723)
        at org.testng.TestRunner.run(TestRunner.java:610)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
        at org.testng.SuiteRunner.run(SuiteRunner.java:289)
        at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
        at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
        at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
        at org.testng.TestNG.runSuites(TestNG.java:1133)
        at org.testng.TestNG.run(TestNG.java:1104)
        at com.teradata.tempto.runner.TemptoRunner.run(TemptoRunner.java:95)
        at com.teradata.tempto.runner.TemptoRunner.runTempto(TemptoRunner.java:68)
        at com.teradata.tempto.runner.TemptoRunner.runTempto(TemptoRunner.java:56)
        at com.facebook.presto.tests.TemptoProductTestRunner.main(TemptoProductTestRunner.java:30)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant