mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #99488 from chymy/rc-test-bug
Fix pkg/controller/replicaset/replica_set_test.go variable reference error
This commit is contained in:
commit
13ebb2e757
@ -1302,10 +1302,10 @@ func TestExpectationsOnRecreate(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if !exists {
|
||||
t.Errorf("No expectations found for ReplicaSet %q", oldRSKey)
|
||||
t.Errorf("No expectations found for ReplicaSet %q", newRSKey)
|
||||
}
|
||||
if rsExp.Fulfilled() {
|
||||
t.Errorf("There should be unfulfilled expectations for creating new pods for ReplicaSet %q", oldRSKey)
|
||||
t.Errorf("There should be unfulfilled expectations for creating new pods for ReplicaSet %q", newRSKey)
|
||||
}
|
||||
|
||||
err = validateSyncReplicaSet(&fakePodControl, 1, 0, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user