You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Enable ParallelSuiteTest
Presumably, test was disabled to get rid of distraction during development
and was forgotten.
Test was broken and commented out temporary back in 2011 in
cc950e9 commit, named `Temp commit`.
Commit was introduced in `AllDynamic` branch
Test is green both on the base commit of AllDynamic branch (10a202a) as well as on branch merge point (b251fce)
Done:
- Add test: child suite should obey threadCount parameter
- Move private stuff to bottom, add more details in error message
* Fix: setup parallel option for all suites, including child
* Fix populateSuiteGraph method: add parent nodes, too
Before this, populateSuiteGraph method was ignoring any suite runner with child suites.
This leads to parallel suites not being executed with `randomize suite` option enabled
The method now add all nodes, including parents into the graph.
* Adjust expected results for suitesShouldRunInParallel4
This test implied a requirement to exclude duplicating suite files from run.
For example, for suite graph like:
suite-parallel-1.xml suite-parallel-2.xml suite-parallel-2-1.xml suite-parallel-2-2.xml
| |
| |
---------- ---------| v
v v suite-parallel-2-2-1.xml
suite-parallel-2-1.xml suite-parallel-2-2.xml
|
|
v
suite-parallel-2-2-1.xml
a test expected 5 suites and 5 threads.
However, this test was excluded from TestNG unit tests since 2011, and broken somewhere later
on the timeline. Dropping mentioned requirement (i.e. leaving things as it is now),
since there's no complains on current behaviour by adjusting test expected results, to
8 expected suites and 8 threads.
* review fixes:
- revert suite order
- gradle autostyle apply
- set parallel mode recursively
Co-authored-by: sankouski-dzmitry <[email protected]>
Co-authored-by: Dzmitry Sankouski <[email protected]>
0 commit comments