Merge pull request #3002 from pavlogs/master #683
Annotations
3 errors and 3 warnings
ParallelByMethodsTestCase6Scenario1.java#L801
0.0sec test.thread.parallelization.ParallelByMethodsTestCase6Scenario1 > verifyThatTestMethodsRunInParallelThreads
java.lang.AssertionError: Expected 10 test method start event logs to be in a block of methods executing in parallel. Found an event log of a different type in the block being processed: [EventLog{Event: LISTENER_TEST_METHOD_START, Suite: TestSuiteA, Test: TestSuiteA-TwoTestClassTest, Class: test.thread.parallelization.sample.TestClassAFiveMethodsWithNoDepsSample, Class instance hash code: 945656824, Method name: testMethodA, Time of event: 2023-11-01 08:21:55.883, Thread ID: 5685}, EventLog{Event: LISTENER_TEST_METHOD_START, Suite: TestSuiteA, Test: TestSuiteA-TwoTestClassTest, Class: test.thread.parallelization.sample.TestClassAFiveMethodsWithNoDepsSample, Class instance hash code: 249254009, Method name: testMethodA, Time of event: 2023-11-01 08:21:55.883, Thread ID: 5686}, EventLog{Event: LISTENER_TEST_METHOD_START, Suite: TestSuiteA, Test: TestSuiteA-TwoTestClassTest, Class: test.thread.parallelization.sample.TestClassAFiveMethodsWithNoDepsSample, Class instance hash code: 945656824, Method name: testMethodB, Time of event: 2023-11-01 08:21:56.220, Thread ID: 5687}, EventLog{Event: TEST_METHOD_EXECUTION, Suite: TestSuiteA, Test: TestSuiteA-TwoTestClassTest, Class: test.thread.parallelization.sample.TestClassAFiveMethodsWithNoDepsSample, Class instance hash code: 249254009, Method name: testMethodA, Time of event: 2023-11-01 08:21:56.413, Thread ID: 5686}, EventLog{Event: TEST_METHOD_EXECUTION, Suite: TestSuiteA, Test: TestSuiteA-TwoTestClassTest, Class: test.thread.parallelization.sample.TestClassAFiveMethodsWithNoDepsSample, Class instance hash code: 945656824, Method name: testMethodA, Time of event: 2023-11-01 08:21:56.413, Thread ID: 5685}, EventLog{Event: LISTENER_TEST_METHOD_START, Suite: TestSuiteA, Test: TestSuiteA-TwoTestClassTest, Class: test.thread.parallelization.sample.TestClassAFiveMethodsWithNoDepsSample, Class instance hash code: 249254009, Method name: testMethodB, Time of event: 2023-11-01 08:21:56.604, Thread ID: 5688}, EventLog{Event: LISTENER_TEST_METHOD_PASS, Suite: TestSuiteA, Test: TestSuiteA-TwoTestClassTest, Class: test.thread.parallelization.sample.TestClassAFiveMethodsWithNoDepsSample, Class instance hash code: 945656824, Method name: testMethodA, Time of event: 2023-11-01 08:21:56.604, Thread ID: 5685}, EventLog{Event: LISTENER_TEST_METHOD_PASS, Suite: TestSuiteA, Test: TestSuiteA-TwoTestClassTest, Class: test.thread.parallelization.sample.TestClassAFiveMethodsWithNoDepsSample, Class instance hash code: 249254009, Method name: testMethodA, Time of event: 2023-11-01 08:21:56.604, Thread ID: 5686}, EventLog{Event: LISTENER_TEST_METHOD_START, Suite: TestSuiteA, Test: TestSuiteA-TwoTestClassTest, Class: test.thread.parallelization.sample.TestClassAFiveMethodsWithNoDepsSample, Class instance hash code: 945656824, Method name: testMethodC, Time of event: 2023-11-01 08:21:56.613, Thread ID: 5689}, EventLog{Event: LISTENER_TEST_METHOD_START, Suite: TestSuiteA, Test: TestSuiteA-TwoTestClassTest, Class: test.thread.parallelization.sample.TestClassAFiveMethodsWithNoDepsSample, Class instance hash code: 249254009, Method name: testMethodC, Time of event: 2023-11-01 08:21:56.613, Thread ID: 5690}] expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1578)
at org.testng.Assert.assertTrue(Assert.java:57)
at test.thread.parallelization.BaseParallelizationTest.verifyEventTypeForEventsLogs(BaseParallelizationTest.java:103)
at test.thread.parallelization.BaseParallelizationTest.verifySimultaneousTestMethodListenerStartEvents(BaseParallelizationTest.java:754)
at test.thread.parallelization.BaseParallelizationTest.verifySimultaneousTestMethods(BaseParallelizationTest.java:439)
at test.thread.parallelization.ParallelByMethodsTestCase6Scenario1.verifyThatTestMethodsRunInParallelThreads(ParallelByMethodsTestCase6Scenario1.java:801)
|
task ':testng-core:test'#L1
Execution failed for task ':testng-core:test':
org.gradle.api.tasks.VerificationException: There were failing tests. See the report at: file:///D:/a/testng/testng/testng-core/build/reports/tests/test/index.html
|
|
|
|
|
The logs for this run have expired and are no longer available.
Loading