spell check for test/*
This commit is contained in:
@@ -372,7 +372,7 @@ func TestPersistentVolumeClaimLabelSelectorMatchExpressions(t *testing.T) {
|
||||
_, s := framework.RunAMaster(nil)
|
||||
defer s.Close()
|
||||
|
||||
ns := framework.CreateTestingNamespace("pvc-match-expresssions", s, t)
|
||||
ns := framework.CreateTestingNamespace("pvc-match-expressions", s, t)
|
||||
defer framework.DeleteTestingNamespace(ns, s, t)
|
||||
|
||||
testClient, controller, watchPV, watchPVC := createClients(ns, t, s, defaultSyncPeriod)
|
||||
@@ -778,7 +778,7 @@ func TestPersistentVolumeControllerStartup(t *testing.T) {
|
||||
}
|
||||
pvs[i] = newPV
|
||||
// Drain watchPV with all events generated by the PV until it's bound
|
||||
// We don't want to catch "PV craated with Status.Phase == Pending"
|
||||
// We don't want to catch "PV created with Status.Phase == Pending"
|
||||
// later in this test.
|
||||
waitForAnyPersistentVolumePhase(watchPV, v1.VolumeBound)
|
||||
}
|
||||
@@ -1135,7 +1135,7 @@ func createClients(ns *v1.Namespace, t *testing.T, s *httptest.Server, syncPerio
|
||||
}
|
||||
watchPVC, err := testClient.PersistentVolumeClaims(ns.Name).Watch(v1.ListOptions{})
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to watch PersistentVolumeClaimss: %v", err)
|
||||
t.Fatalf("Failed to watch PersistentVolumeClaims: %v", err)
|
||||
}
|
||||
|
||||
return testClient, ctrl, watchPV, watchPVC
|
||||
|
Reference in New Issue
Block a user