-
Notifications
You must be signed in to change notification settings - Fork 885
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
[CI] Cypress tests support ciGroups #5298
[CI] Cypress tests support ciGroups #5298
Conversation
Works with the manual run need to verify with PRs |
Partially resolves: opensearch-project#5297 Add ciGroups to handle the increase in tests added which also impact the allocation available on the machines that run these tests. However, this deserves to be more optimized and utilized within the build infra repo so that we can ensure that release testing is also leverging ciGroups within plugins. Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
cff77a3
to
44a658e
Compare
|
||
env: | ||
TEST_REPO: ${{ inputs.test_repo != '' && inputs.test_repo || 'opensearch-project/opensearch-dashboards-functional-test' }} | ||
TEST_BRANCH: "${{ inputs.test_branch != '' && inputs.test_branch || github.base_ref }}" | ||
FTR_PATH: 'ftr' | ||
START_CMD: 'node ../scripts/opensearch_dashboards --dev --no-base-path --no-watch' | ||
START_CMD: 'node ../scripts/opensearch_dashboards --dev --no-base-path --no-watch --savedObjects.maxImportPayloadBytes=10485760 --server.maxPayloadBytes=1759977 --logging.json=false --data.search.aggs.shardDelay.enabled=true' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manasvinibs we should consider be able to distributing a common config like selenium tests.
@@ -179,8 +198,6 @@ jobs: | |||
|
|||
#### Inputs: | |||
``` | |||
Source repo: '${{ env.SOURCE_REPO }}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got rid of this because unless set at a file level github env variables do not share between jobs. This information is already available within the test run.
Codecov Report
@@ Coverage Diff @@
## main #5298 +/- ##
==========================================
+ Coverage 66.73% 66.77% +0.03%
==========================================
Files 3284 3284
Lines 63095 63095
Branches 10049 10049
==========================================
+ Hits 42108 42132 +24
+ Misses 18589 18495 -94
- Partials 2398 2468 +70
Flags with carried forward coverage won't be shown. Click here to find out more. |
Partially resolves: #5297 Add ciGroups to handle the increase in tests added which also impact the allocation available on the machines that run these tests. However, this deserves to be more optimized and utilized within the build infra repo so that we can ensure that release testing is also leverging ciGroups within plugins. Signed-off-by: Kawika Avilla <kavilla414@gmail.com> (cherry picked from commit 7a964b6) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Partially resolves: #5297 Add ciGroups to handle the increase in tests added which also impact the allocation available on the machines that run these tests. However, this deserves to be more optimized and utilized within the build infra repo so that we can ensure that release testing is also leverging ciGroups within plugins. Signed-off-by: Kawika Avilla <kavilla414@gmail.com> (cherry picked from commit 7a964b6) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
Partially resolves: #5297 Add ciGroups to handle the increase in tests added which also impact the allocation available on the machines that run these tests. However, this deserves to be more optimized and utilized within the build infra repo so that we can ensure that release testing is also leverging ciGroups within plugins. (cherry picked from commit 7a964b6) Signed-off-by: Kawika Avilla <kavilla414@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Josh Romero <rmerqg@amazon.com>
Partially resolves: #5297 Add ciGroups to handle the increase in tests added which also impact the allocation available on the machines that run these tests. However, this deserves to be more optimized and utilized within the build infra repo so that we can ensure that release testing is also leverging ciGroups within plugins. Signed-off-by: Kawika Avilla <kavilla414@gmail.com> (cherry picked from commit 7a964b6) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Josh Romero <rmerqg@amazon.com>
Description
Add ciGroups to handle the increase in tests added which also impact the allocation available on the machines that run these tests.
However, this deserves to be more optimized and utilized within the build infra repo so that we can ensure that release testing is also leverging ciGroups within plugins.
Issues Partially Resolved
#5297
Check List
yarn test:jest
yarn test:jest_integration