-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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(docs-infra): enable the Selenium Promise Manager in e2e tests to a void flakiness on CI #39905
Conversation
aio/tests/e2e/protractor.conf.js
Outdated
@@ -21,7 +21,12 @@ exports.config = { | |||
}, | |||
}, | |||
directConnect: true, | |||
SELENIUM_PROMISE_MANAGER: false, | |||
// Keep he Selenium Promise Manager enabled to avoid flakiness on CI. |
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.
// Keep he Selenium Promise Manager enabled to avoid flakiness on CI. | |
// Keep the Selenium Promise Manager enabled to avoid flakiness on CI. |
// See https://github.com/angular/angular/issues/39872 for more details. | ||
// | ||
// TODO(gkalpak): Set this back to `false` to align with CLI-generated apps when the flakiness is | ||
// fixed in the future. |
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.
...in the future
😆
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.
What? Flakiness can be randomly fixed "on its own". True story (see the first commit in this PR) 😆
You can preview fd15fd6 at https://pr39905-fd15fd6.ngbuilds.io/. |
In angular#32497, an option was introduced to retry failed docs examples tests a second time. This was done to work around some then recently introduced flakiness. After inspecting ~50 recent CI docs examples jobs, all tests passed on the first try. This commit gets rid of the retry attempt. This will avoid covering up any new flakiness introduces in the future.
…kiness on CI Since we turned off the Selenium Promise Manager in angular#39600, the AIO e2e tests have started flaking on CI. After trying out several things, the only change that seems to eliminate the flakiness is turning the Selenium Promise Manager back on (see angular#39873 for more details). This commit turns the Selenium Project Manager on to get rid of the flakiness. Fixes angular#39872
fd15fd6
to
2ba3652
Compare
You can preview 2ba3652 at https://pr39905-2ba3652.ngbuilds.io/. |
In #32497, an option was introduced to retry failed docs examples tests a second time. This was done to work around some then recently introduced flakiness. After inspecting ~50 recent CI docs examples jobs, all tests passed on the first try. This commit gets rid of the retry attempt. This will avoid covering up any new flakiness introduces in the future. PR Close #39905
…kiness on CI (#39905) Since we turned off the Selenium Promise Manager in #39600, the AIO e2e tests have started flaking on CI. After trying out several things, the only change that seems to eliminate the flakiness is turning the Selenium Promise Manager back on (see #39873 for more details). This commit turns the Selenium Project Manager on to get rid of the flakiness. Fixes #39872 PR Close #39905
…kiness on CI (#39905) Since we turned off the Selenium Promise Manager in #39600, the AIO e2e tests have started flaking on CI. After trying out several things, the only change that seems to eliminate the flakiness is turning the Selenium Promise Manager back on (see #39873 for more details). This commit turns the Selenium Project Manager on to get rid of the flakiness. Fixes #39872 PR Close #39905
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Since we turned off the Selenium Promise Manager in #39600, the AIO e2e tests have started flaking on CI. After trying out several things, the only change that seems to eliminate the flakiness is turning the Selenium Promise Manager back on (see #39873 for more details).
This commit turns the Selenium Project Manager on to get rid of the flakiness.
Fixes #39872.