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

Change test groups and shuffle tests between 4 groups #13279

Merged
merged 6 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
segment: group1
- id: 2
segment: group2
- id: 3
segment: group3
- id: 4
segment: group4
fail-fast: false
steps:
- name: Run hostname
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</test>-->

<test name="apim-integration-tests-api-lifecycle" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group3"/>
<classes>
<class name="org.wso2.am.integration.tests.api.lifecycle.APISecurityTestCase" />
<class name="org.wso2.am.integration.tests.api.lifecycle.AccessibilityOfBlockAPITestCase"/>
Expand Down Expand Up @@ -100,7 +100,7 @@
</test>

<test name="apim-integration-tests-api-lifecycle-2" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.rest.MalformedRequestTest"/>
<class name="org.wso2.am.integration.tests.other.ScriptMediatorTestCase"/>
Expand All @@ -119,7 +119,7 @@
</test>

<test name="apim-email-secondary-userstore-tests" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group3"/>
<classes>
<class name="org.wso2.am.integration.tests.restapi.ContentSearchTestCase"/>
<class name="org.wso2.am.integration.tests.other.PublisherAccessControlTestCase"/>
Expand Down Expand Up @@ -147,7 +147,7 @@
</test>

<test name="apim-CORS-tests" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.header.CORSAccessControlAllowCredentialsHeaderSetup"/>
<class name="org.wso2.am.integration.tests.jwt.FederatedUserJWTTestCase"/>
Expand All @@ -156,7 +156,7 @@
</test>

<test name="apim-integration-tests-samples" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.rest.UriTemplateReservedCharacterEncodingTest"/>
<class name="org.wso2.am.integration.tests.other.APIInvocationFailureTestCase"/>
Expand Down Expand Up @@ -240,7 +240,7 @@
</test>

<test name="apim-store-tests" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group1"/>
<parameter name="group" value="group3"/>
<classes>
<class name="org.wso2.am.integration.tests.other.APIM710AllSubscriptionsByApplicationTestCase"/>
<!--<class name="org.wso2.am.integration.tests.other.CopyNewVersionTestCase"/>-->
Expand Down Expand Up @@ -345,7 +345,7 @@
</test>

<test name="apim-integration-tests-without-restarts" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group2"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.other.AdvancedConfigDeploymentConfig"/>
<class name="org.wso2.am.integration.tests.other.NotificationTestCase"/>
Expand All @@ -365,15 +365,15 @@


<test name="apim-integration-tests-application-sharing" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group2"/>
<parameter name="group" value="group1"/>
<classes>
<class name="org.wso2.am.integration.tests.application.groupSharing.ApplicationSharingConfig"/>
<class name="org.wso2.am.integration.tests.application.groupSharing.ApplicationSharingTestCase"/>
</classes>
</test>

<test name="apim-JWT-integration-tests" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group2"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.jwt.JWTTestSuite"/>
<class name="org.wso2.am.integration.tests.jwt.JWTTestCase"/>
Expand All @@ -382,7 +382,7 @@
</test>

<test name="apim-urlsafe-JWT-integration-tests" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="group" value="group2"/>
<parameter name="group" value="group4"/>
<classes>
<class name="org.wso2.am.integration.tests.jwt.urlsafe.UrlSafeJWTTestSuite"/>
<class name="org.wso2.am.integration.tests.jwt.urlsafe.URLSafeJWTTestCase"/>
Expand Down
Loading