Skip to content

Adding third container for jasmine tests to avoid flaky fails - #3599

Merged
archmoj merged 5 commits into
masterfrom
flaky-less
Mar 5, 2019
Merged

Adding third container for jasmine tests to avoid flaky fails#3599
archmoj merged 5 commits into
masterfrom
flaky-less

Conversation

@archmoj

@archmoj archmoj commented Mar 4, 2019

Copy link
Copy Markdown
Contributor

Fixes #3587.
@plotly/plotly_js

@etpinard

etpinard commented Mar 4, 2019

Copy link
Copy Markdown
Contributor

Have you tried re-running the tests a few times to see if it actually helps?

@archmoj

archmoj commented Mar 4, 2019

Copy link
Copy Markdown
Contributor Author

Have you tried re-running the tests a few times to see if it actually helps?

Good call. It quickly passed the very first time; but then I see it may not pass.
So I will try the second step described here: #3587.

Comment thread .circleci/test.sh Outdated
SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --tag=flaky))

for s in ${SHARDS[@]}; do
retry npm run test-jasmine -- --tags=flaky --skip-tags=noCI

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This line should be:

 retry npm run test-jasmine -- "$s"  --tags=flaky --skip-tags=noCI

@etpinard

etpinard commented Mar 5, 2019

Copy link
Copy Markdown
Contributor

Any updates on this thing?

Even if the tests in test-jasmine3 (still) fail from time to time, this PR will make our rebuild faster as we won't have to re-test all the non-flaky jasmine tests when we have to rebuild.

@archmoj

archmoj commented Mar 5, 2019

Copy link
Copy Markdown
Contributor Author

Yes. I think it is ready to go.

@etpinard

etpinard commented Mar 5, 2019

Copy link
Copy Markdown
Contributor

💃

@antoinerg

Copy link
Copy Markdown
Contributor

Looks good to me 💃

@archmoj
archmoj merged commit 3a63b18 into master Mar 5, 2019
@archmoj
archmoj deleted the flaky-less branch March 5, 2019 22:45
@archmoj archmoj mentioned this pull request Mar 23, 2019
3 tasks
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