diff --git a/pkg/controller/replicaset/replica_set_test.go b/pkg/controller/replicaset/replica_set_test.go index 1858b4aabf..95b2d6e68e 100644 --- a/pkg/controller/replicaset/replica_set_test.go +++ b/pkg/controller/replicaset/replica_set_test.go @@ -481,7 +481,7 @@ func TestWatchControllers(t *testing.T) { select { case <-received: case <-time.After(wait.ForeverTestTimeout): - t.Errorf("Expected 1 call but got 0") + t.Errorf("unexpected timeout from result channel") } } @@ -528,7 +528,7 @@ func TestWatchPods(t *testing.T) { select { case <-received: case <-time.After(wait.ForeverTestTimeout): - t.Errorf("Expected 1 call but got 0") + t.Errorf("unexpected timeout from result channel") } } diff --git a/pkg/controller/replication/replication_controller_test.go b/pkg/controller/replication/replication_controller_test.go index 8cf150c0dc..ccaa892e6d 100644 --- a/pkg/controller/replication/replication_controller_test.go +++ b/pkg/controller/replication/replication_controller_test.go @@ -466,7 +466,7 @@ func TestWatchControllers(t *testing.T) { select { case <-received: case <-time.After(wait.ForeverTestTimeout): - t.Errorf("Expected 1 call but got 0") + t.Errorf("unexpected timeout from result channel") } } @@ -512,7 +512,7 @@ func TestWatchPods(t *testing.T) { select { case <-received: case <-time.After(wait.ForeverTestTimeout): - t.Errorf("Expected 1 call but got 0") + t.Errorf("unexpected timeout from result channel") } }