mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Accept both 'No events.' and 'Events:'
This commit is contained in:
parent
76f02d562a
commit
4fe0a18024
@ -554,7 +554,12 @@ var _ = Describe("Kubectl client", func() {
|
|||||||
{"Labels:", "app=redis,role=master"},
|
{"Labels:", "app=redis,role=master"},
|
||||||
{"Replicas:", "1 current", "1 desired"},
|
{"Replicas:", "1 current", "1 desired"},
|
||||||
{"Pods Status:", "1 Running", "0 Waiting", "0 Succeeded", "0 Failed"},
|
{"Pods Status:", "1 Running", "0 Waiting", "0 Succeeded", "0 Failed"},
|
||||||
{"Events:"}}
|
// {"Events:"} would ordinarily go in the list
|
||||||
|
// here, but in some rare circumstances the
|
||||||
|
// events are delayed, and instead kubectl
|
||||||
|
// prints "No events." This string will match
|
||||||
|
// either way.
|
||||||
|
{"vents"}}
|
||||||
checkOutput(output, requiredStrings)
|
checkOutput(output, requiredStrings)
|
||||||
|
|
||||||
// Service
|
// Service
|
||||||
|
Loading…
Reference in New Issue
Block a user