This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Script to display live output from e2e tests #275
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ashetty1 this WFM, please put it under some kind of |
@surajssd I don't handle values for PARALLEL in this script. Should I? |
@ashetty1 yup, you should, as well as timeout. |
@ashetty1 ping on this ! |
@surajssd On it this week. Will push the changes once I have the parallel and timeout stuff ready |
Sorry for the mess. Pushing the PR now |
ashetty1
changed the title
[WIP] Script to display live output from e2e tests
Script to display live output from e2e tests
Oct 5, 2017
Currently, when e2e tests are run, the output is displayed only after the test run is complete. This is a known limitation of go tests. With this simple script, when we run `go test -v github.com/kedgeproject/kedge/tests/e2e`, `make test-e2e` and `kubectl get po --all-namespaces -w` are in the background, and terminate the kubectl process once the test run is complete, helping us keep a watch on the individual tests while they are being run.
@surajssd They all pass? Yup, just amend the commit and force-push and it should re-trigger the tests. |
@cdrage this output LGTM, if you don't have any other concern let's merge this one! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, when e2e tests are run, the output is displayed only after the test run is complete. This is a known limitation of
go tests
.With this simple script, we run make test-e2e and
kubectl get po --all-namespaces -w
in the background, and terminate the process once the test run is complete, helping us keep a watch on the individual tests while they are being run.