perf: Parallelize multi-tenant integration tests#433
Open
vibhutikumar07 wants to merge 8 commits intodevelopfrom
Open
perf: Parallelize multi-tenant integration tests#433vibhutikumar07 wants to merge 8 commits intodevelopfrom
vibhutikumar07 wants to merge 8 commits intodevelopfrom
Conversation
- Split workflow into setup + parallel test jobs using matrix strategy - Run 4 test combinations (tokenFlow x tenant) in parallel instead of sequentially - Reduces execution time from ~2 hours to ~30 minutes - Added test artifact uploads for each matrix job - Added test-summary job to aggregate results - Updated deprecated ::set-output syntax to GITHUB_OUTPUT
GitHub Actions blocks passing secrets via job outputs for security. Each parallel job now does its own CF login and fetches credentials within the same job using step outputs instead of job outputs.
- Add testClass dimension to matrix (3 classes × 2 tokenFlows × 2 tenants = 12 parallel jobs) - Each job runs only one test class instead of all 3 - Add Maven dependency caching via setup-java - Add CF CLI caching - Expected time: ~15-20 mins (down from ~50 mins)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Parallelizes the integration test jobs in multi-tenant workflows to reduce execution time from ~2 hours to ~24 minutes.
Changes
multi tenancy_Integration.ymlmultiTenant_deploy_and_Integration_test.ymlmultiTenant_deploy_and_Integration_test_LatestVersion.ymlTesting
Tested on
multi tenancy_Integration.yml- completed in 24 minutes (previously ~2 hours)