Merge pull request #21667 from HaiyangDING/patch-3
Auto commit by PR queue bot
This commit is contained in:
@@ -2344,7 +2344,7 @@ func TestGetHostPortConflicts(t *testing.T) {
|
|||||||
// The new pod should cause conflict and be reported.
|
// The new pod should cause conflict and be reported.
|
||||||
pods = append(pods, expected)
|
pods = append(pods, expected)
|
||||||
if !hasHostPortConflicts(pods) {
|
if !hasHostPortConflicts(pods) {
|
||||||
t.Errorf("expected no conflict, Got no conflicts")
|
t.Errorf("expected conflict, Got no conflicts")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user