Skip to content
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

Try to fix integration tests flakiness #20062

Merged
merged 6 commits into from
Dec 22, 2018
Merged

Conversation

lannka
Copy link
Contributor

@lannka lannka commented Dec 21, 2018

  • Retry integration tests on Saucelabs.
  • Add 50ms tolerance to timer trigger
  • Set default integration tests timeout to 5s locally 10s on Travis

For #20057

@lannka lannka requested a review from zhouyx December 21, 2018 23:34
this.spec.timeout = spec.timeout
|| window.ampTestRuntimeConfig.mocha.integrationTimeout;
if (this.spec.retryOnSaucelabs === undefined) {
this.spec.retryOnSaucelabs = 3;
Copy link
Contributor

Choose a reason for hiding this comment

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

Shall we make it 4 to match the .retryOnSaucelabs()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

SG. done

@lannka lannka merged commit a37d49d into ampproject:master Dec 22, 2018
@lannka lannka deleted the retry-saucelabs branch December 22, 2018 03:16
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Mar 22, 2019
* check in

* add 50ms tolerance to timer interval

* nit

* Fix amp-fx-* tests

* Longer timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants