-
Notifications
You must be signed in to change notification settings - Fork 493
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
Split expect tests into separate circleci group #2792
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2792 +/- ##
==========================================
- Coverage 47.08% 47.07% -0.02%
==========================================
Files 349 349
Lines 56401 56401
==========================================
- Hits 26558 26550 -8
- Misses 26865 26871 +6
- Partials 2978 2980 +2
Continue to review full report at Codecov.
|
@winder I'm ok with this - but please fix the review dog errors. |
LGTM, just remove from goal_expect_test.go t.Skip("goal expect test are disabled due to flakiness") |
0bd0c1b
to
5c77a3b
Compare
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.
Let's see if it works
Can we also test that nightly tests will work as expected too? Just in case there are expect tests that are disabled in |
All of the expect tests go through the same test function, and it doesn't use I thought we didn't have any tests using that option in e2e-go, but there are some:
|
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.
Looks like it is passing so it is working, voting for merging the PR in.
Looks good. Tests passed and if they are separated out, then like you said, it shouldn't affect the nightly integration tests in terms of CPU consumption. |
steps: | ||
- prepare_go | ||
- generic_integration: | ||
result_subdir: amd64-e2e_subs |
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.
The result_subdir here doesn't match
@cce we have 3 main types of integration tests:
The expect tests take a long time to run and have been disabled for a while. Maybe the expect tests don't shard properly because they run through a single fixture? |
amd64_e2e_expect: | ||
machine: | ||
image: ubuntu-2004:202104-01 | ||
resource_class: large |
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.
I think these tests were running as part of the "integration" job before, so this upgrades the resource_class from "medium" to "large" — we might want to go back down
@@ -89,18 +99,24 @@ if [[ "${ARCHTYPE}" = arm* ]]; then | |||
PARALLEL_FLAG="-p 1" | |||
fi | |||
|
|||
PACKAGES="./..." | |||
if [ "$RUN_EXPECT" != "" ]; then |
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.
I think this means that whether or not RUN_EXPECT is set to FALSE or TRUE (and it is set to FALSE by default at the top of this file) we will only ever run the expect tests.
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.
Opened #2863
Summary
Attempt to split expect tests into a 3rd category.
This changes the behavior of
e2e_go_tests.sh
. Previously it would run the e2e_go tests AND the EXPECT tests. Now it runs one or the other.Test Plan
CI