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
algorandskiy
left a comment
There was a problem hiding this comment.
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: |
algorandskiy
left a comment
There was a problem hiding this comment.
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.
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.
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
| fi | ||
|
|
||
| PACKAGES="./..." | ||
| if [ "$RUN_EXPECT" != "" ]; then |
There was a problem hiding this comment.
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.

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