fix typo for daemon_controller_test.go

This commit is contained in:
Raymonder jin 2021-06-28 04:54:09 -07:00
parent 6010cbe593
commit 03f9f75e88
No known key found for this signature in database
GPG Key ID: 453B790BA7027DBC

View File

@ -571,7 +571,7 @@ func TestExpectationsOnRecreate(t *testing.T) {
t.Fatalf("No expectations found for DaemonSet %q", oldDSKey)
}
if dsExp.Fulfilled() {
t.Errorf("There should be unfulfiled expectation for creating new pods for DaemonSet %q", oldDSKey)
t.Errorf("There should be unfulfilled expectation for creating new pods for DaemonSet %q", oldDSKey)
}
// process updates DS, update adds to queue
@ -641,7 +641,7 @@ func TestExpectationsOnRecreate(t *testing.T) {
t.Fatalf("No expectations found for DaemonSet %q", oldDSKey)
}
if dsExp.Fulfilled() {
t.Errorf("There should be unfulfiled expectation for creating new pods for DaemonSet %q", oldDSKey)
t.Errorf("There should be unfulfilled expectation for creating new pods for DaemonSet %q", oldDSKey)
}
err = validateSyncDaemonSets(manager, fakePodControl, 1, 0, 0)