-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add End-to-End tests to CI job #1043
Conversation
Signed-off-by: Norman Jordan <[email protected]>
8410d71
to
2352bc6
Compare
} | ||
} | ||
}.start() | ||
val completed = dockerProcess.waitFor(30, TimeUnit.MINUTES) |
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.
@normanj-bitquill why is the timeout so long ?
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.
I tested this in a different PR. It took about 13 minutes to startup the cluster. This includes downloading Docker images that are needed. 30 minutes is just to give a safe buffer around that.
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.
@YANG-DB This can be decreased but it we will want it to be 13 minutes plus a buffer. Could use 20 minutes instead.
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.
@normanj-bitquill is it possible to have a seperate workflow for e2e test? my concern is add e2e test will add 30mins for every PR.
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.
can/should we set timeout wait period shorter ?
Signed-off-by: Norman Jordan <[email protected]>
@LantaoJin @penghuo |
CI broken after this merge this PR. https://github.com/opensearch-project/opensearch-spark/commits/main/ @YANG-DB @normanj-bitquill should we revert this PR? |
@normanj-bitquill actually did find a real regression so IMO the feature is good to have... |
Description
Adds the End-to-End tests to the CI job GitHub action. They will be run with the integration tests. The end-to-end test results are included in the uploaded artifacts.
Related Issues
Related to #647
Check List
--signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.