-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improve playground and test Do not call the Cmd.Process.Wait directly or we can not get the Cmd.ProcessState and the Uptime show in display can't not find out the process is quit. Also, Cmd.Process return the ProcessState and nil if the process exit with not 0 code, so if the instance quit unexpected will tail the last log of the instance will never work. Setup signal handler before we boot the cluster. Before this PR, if return before we setup the signal handler and receive signal(like user press ctrl-c), playground will quit directly, but we may have started some subprocess which become orphaned process. Improve the integration test to make sure scale-in/out, display basically work.
- Loading branch information
Showing
10 changed files
with
327 additions
and
205 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,4 @@ bin/ | |
/tests/tiup_mirrors/*.sha1 | ||
/tests/tiup_mirrors/ | ||
/logs | ||
docker/secret/ |
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
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
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
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
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
Oops, something went wrong.