-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
test(chart): Sanity tests Selenium Grid chart via Makefile commands #2029
Conversation
[deploy] Signed-off-by: Viet Nguyen Duc <[email protected]>
Hi @amardeep2006, can you please also have a review on this? Thanks! |
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.
Some minor comments.
Signed-off-by: Viet Nguyen Duc <[email protected]>
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.
Thank you, @VietND96!
https://github.com/SeleniumHQ/docker-selenium/actions/runs/7017524980/job/19090970950 |
Yes, I was also aware of this flaky and incorrect behavior. I am trying to make it stable |
On this use case, how about if you jump to run |
I was using K8sSmokeTest.py for this. Basically it makes sure cluster is up an running before I fired the tests. |
Yes, while integrating autoscaling & ingress tests, I also tried to merge your script into using SmokeTest.py, since it is same func to wait for Hub is up, just some timeout values are pulled out as arguments, K8s tests set timeout a little bit longer due to scaling interval and time for node replicas from 0 to 1. nginx.ingress.kubernetes.io/proxy-connect-timeout: "360"
nginx.ingress.kubernetes.io/proxy-read-timeout: "360"
nginx.ingress.kubernetes.io/proxy-send-timeout: "360" Let us monitor how it is stable Regarding incorrect behavior, failed tests without job failed, it is due to in bash script handle trapping the error signal inproperly, step to cleanup between return 0 replaces the first error code from tests. |
Thanks for contributing to the Docker-Selenium project!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines, applied for this repository.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Sanity tests Selenium Grid chart via Makefile commands
Motivation and Context
Take advantage from PR #2027, there are some enhancements on sanity tests for the Selenium Grid chart (link to #1975)
Makefile
is updated newmake
commands for a few purposes. Someone is able to test their changes in their local before pushing and running workflow. Try to have the same environment in development and CIAdd
charts/selenium-grid/TESTING.md
to capture all related testing to chartUpdate chart test workflow to use
make
commands.Types of changes
Checklist