mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
add namespace test
This commit is contained in:
parent
c25a7e6a75
commit
1292827bb0
@ -831,7 +831,10 @@ func TestDescribePodDisruptionBudget(t *testing.T) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("unexpected error: %v", err)
|
t.Errorf("unexpected error: %v", err)
|
||||||
}
|
}
|
||||||
if !strings.Contains(out, "pdb1") {
|
if !strings.Contains(out, "pdb1") ||
|
||||||
|
!strings.Contains(out, "ns1") ||
|
||||||
|
!strings.Contains(out, "22") ||
|
||||||
|
!strings.Contains(out, "5") {
|
||||||
t.Errorf("unexpected out: %s", out)
|
t.Errorf("unexpected out: %s", out)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user