-
Notifications
You must be signed in to change notification settings - Fork 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
Resolve issue with OAuth2 product tests and reenable #8779
Conversation
fb5a53f
to
d7cd715
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.
LGTM % comment and ci.
@@ -126,6 +126,7 @@ private WebDriver getWebDriver() | |||
{ | |||
ChromeOptions options = new ChromeOptions(); | |||
options.setAcceptInsecureCerts(true); | |||
options.addArguments("--disable-gpu"); |
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.
Should there be a TODO to remove this once resolved upstream? Or does it not matter?
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.
A TODO might be a good option here, but it also may not matter. Given that it's docker I can't imagine it'll ever actually use the GPU. I could go either way; I'll add the TODO tomorrow if this PR hasn't been merged as I'm dog tired and done for today.
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.
Sure, no problem. Also, can you please add the reason in the commit message too.
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.
So Selenium just released a new version of the Chrome container thus I've just removed the work around entirely. I did add the reason in the commit message with links to the Selenium and Chrome tickets.
d7cd715
to
d56e30c
Compare
Apparently there is an issue with Chrome 92 when running inside a Docker container. This has been resolved with another release of the Selenium Chrome container, thus all that is needed is to reenable the product tests. The links below outline the issue if more detail is required. See: * SeleniumHQ/docker-selenium#1346 * SeleniumHQ/docker-selenium#1351 * https://bugs.chromium.org/p/chromium/issues/detail?id=1228625 Related to trinodb#8756
d56e30c
to
86d6226
Compare
I think we should pin exact (immutable) version anyway in order to avoid such issues in future. |
Apparently there is an issue with Chrome 92 when running inside a Docker container. This PR implements the workaround suggested in the following links and reenables the OAuth2 product tests.
See:
An alternate solution is to pin
selenium/standalone-chrome-debug
to tag3.141.59-20210713
(inSeleniumChrome
).Related to #8756