APPS-947 Refactor community rest api to be run in parallel

This commit is contained in:
cagache
2021-04-12 16:29:12 +03:00
parent 4762d1cfda
commit 10306a80e0

View File

@@ -1,6 +1,6 @@
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="TestNG AllTestSuite" configfailurepolicy="continue" verbose="1" time-out="600000"> <suite name="TestNG AllTestSuite" configfailurepolicy="continue" verbose="1" time-out="300000">
<test name="Before suite" > <test name="Before suite" >
<!-- These tests are meant to run first, because they all clear the audit log and can't run in parallel. --> <!-- These tests are meant to run first, because they all clear the audit log and can't run in parallel. -->
<packages> <packages>
@@ -39,8 +39,9 @@
</class> </class>
</classes> </classes>
</test> </test>
<!-- These tests can run in parallel --> <!-- These tests can run in parallel. Run them in single thread though because runtime increase with the number of
<test name="Parallel Tests Suite" parallel="classes" thread-count="2"> threads -->
<test name="Parallel Tests Suite">
<packages> <packages>
<package name="org.alfresco.rest.rm.community.*"> <package name="org.alfresco.rest.rm.community.*">
<exclude name="org.alfresco.rest.rm.community.audit.*"/> <exclude name="org.alfresco.rest.rm.community.audit.*"/>