Put watch in a loop so that we grab all event logs, even if the watch hangs up.

This commit is contained in:
Brendan Burns 2015-01-29 09:56:20 -08:00
parent ca6de16df7
commit 0ad036e0eb

View File

@ -279,7 +279,7 @@ func shuffleStrings(strings []string, r *rand.Rand) {
}
func Test() (results ResultsByTest) {
defer runBashUntil("watchEvents", "$KUBECTL --watch-only get events")()
defer runBashUntil("watchEvents", "while true; do $KUBECTL --watch-only get events; done")()
if !IsUp() {
log.Fatal("Testing requested, but e2e cluster not up!")