[ACS-11964][run tests]-Replace package sweep with explicit class list in elasticsearch-e2e-part2-suite (#4392)

As part of this PR discussion, closing it and created a new task https://hyland.atlassian.net/browse/ACS-12859 to track the restructuring part.
https://github.com/Alfresco/alfresco-community-repo/pull/4392#discussion_r4027079605
This commit is contained in:
Mousumi Podder
2026-09-16 19:57:26 +05:30
committed by GitHub
parent 9668eea184
commit 3a8d76cf42
@@ -7,12 +7,6 @@
<listener class-name="org.alfresco.utility.testng.OSTestMethodSelector"/> <listener class-name="org.alfresco.utility.testng.OSTestMethodSelector"/>
</listeners> </listeners>
<test name="SearchTests-Part2"> <test name="SearchTests-Part2">
<packages>
<package name="org.alfresco.rest.search.*">
<exclude name="org.alfresco.rest.search.fingerprint"/>
<exclude name="org.alfresco.rest.search.crosslocale"/>
</package>
</packages>
<classes> <classes>
<!-- 1) FacetRangeSearchTest: range facet gaps on ES --> <!-- 1) FacetRangeSearchTest: range facet gaps on ES -->
<class name="org.alfresco.rest.search.FacetRangeSearchTest"> <class name="org.alfresco.rest.search.FacetRangeSearchTest">
@@ -78,19 +72,26 @@
<exclude name="testWithConjunctionDisjunctionAndNegation"/> <exclude name="testWithConjunctionDisjunctionAndNegation"/>
</methods> </methods>
</class> </class>
<!-- 10) SearchQueryPaginationTest: will include all the tests -->
<!-- Suppress part1 classes so the package sweep doesn't re-run them --> <class name="org.alfresco.rest.search.SearchQueryPaginationTest"/>
<class name="org.alfresco.rest.search.SearchCasesTest"><methods><exclude name=".*"/></methods></class> <!-- 11) SearchPermissionsTest: will include all the tests -->
<class name="org.alfresco.rest.search.SearchAspectTest"><methods><exclude name=".*"/></methods></class> <class name="org.alfresco.rest.search.SearchPermissionsTest"/>
<class name="org.alfresco.rest.search.SearchTest"><methods><exclude name=".*"/></methods></class> <!-- 12) SearchParentFieldTest: will include all the tests -->
<class name="org.alfresco.rest.search.SearchSimpleCasesTest"><methods><exclude name=".*"/></methods></class> <class name="org.alfresco.rest.search.SearchParentFieldTest"/>
<class name="org.alfresco.rest.search.SearchHighLightTest"><methods><exclude name=".*"/></methods></class> <!-- 13) SearchSecondaryAssociationTest: will include all the tests -->
<class name="org.alfresco.rest.search.SearchExactTermTest"><methods><exclude name=".*"/></methods></class> <class name="org.alfresco.rest.search.SearchSecondaryAssociationTest"/>
<class name="org.alfresco.rest.search.SearchSpellCheckTest"><methods><exclude name=".*"/></methods></class> <!-- 14) SpecialCharacterSearchTest: will include all the tests -->
<class name="org.alfresco.rest.search.NodeContentTest"><methods><exclude name=".*"/></methods></class> <class name="org.alfresco.rest.search.SpecialCharacterSearchTest"/>
<class name="org.alfresco.rest.search.SearchNonIndexedFields"><methods><exclude name=".*"/></methods></class> <!-- 15) ExplicitRoutingTest: Solr-only explicit routing; also needs runtime custom model, ACS-12502 -->
<class name="org.alfresco.rest.search.SearchAPATHTest"><methods><exclude name=".*"/></methods></class> <class name="org.alfresco.rest.search.ExplicitRoutingTest">
<class name="org.alfresco.rest.search.SearchWithCustomModelTest"><methods><exclude name=".*"/></methods></class> <methods><exclude name=".*"/></methods>
</class>
<!-- 16) tracker.CascadingIntegrationTest: Solr tracker cascade; also needs runtime custom model, ACS-12502 -->
<class name="org.alfresco.rest.search.tracker.CascadingIntegrationTest">
<methods><exclude name=".*"/></methods>
</class>
<!-- 17) DocumentLibraryTagFilterTest: will include all the tests -->
<class name="org.alfresco.rest.search.DocumentLibraryTagFilterTest"/>
</classes> </classes>
</test> </test>
</suite> </suite>