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

updated parallelism changes #792

Merged

Conversation

karthikaselvaraj-okta
Copy link
Contributor

No description provided.

@@ -5,7 +5,13 @@ aliases:
- &build_steps
- checkout
- run: java -version
- run: ./mvnw clean install -Pci
- run: mvn clean install -Dmaven.test.skip=true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This configuration would actually skip the Unit tests also. We should not skip the UTs.

Copy link
Contributor

@arvindkrishnakumar-okta arvindkrishnakumar-okta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CircleCI build logs for Java 8, 11 & 17 all show that only 1 IT (IdpIT) is run for the below command:

    - run:
        command: |
          ClassName=$(circleci tests glob "integration-tests/src/test/groovy/com/okta/sdk/tests/it/**IT.groovy" | circleci tests split --split-by=filesize | grep groovy | xargs -n 1 basename | sed -e 's/\.groovy$//' | tr '\n' ',' | sed 's/,*$//g')
          echo $ClassName
          cd ./integration-tests
          mvn -Dtest=$ClassName test

image

@vijetmahabaleshwar-okta vijetmahabaleshwar-okta merged commit 5421d94 into master Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants