mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-22 02:18:51 +00:00
@@ -57,7 +57,7 @@ func TestIsMemberOf(t *testing.T) {
|
||||
set2.Name = "foo2"
|
||||
pod := newStatefulSetPod(set, 1)
|
||||
if !isMemberOf(set, pod) {
|
||||
t.Error("isMemberOf retruned false negative")
|
||||
t.Error("isMemberOf returned false negative")
|
||||
}
|
||||
if isMemberOf(set2, pod) {
|
||||
t.Error("isMemberOf returned false positive")
|
||||
@@ -90,7 +90,7 @@ func TestStorageMatches(t *testing.T) {
|
||||
set := newStatefulSet(3)
|
||||
pod := newStatefulSetPod(set, 1)
|
||||
if !storageMatches(set, pod) {
|
||||
t.Error("Newly created Pod has a invalid stroage")
|
||||
t.Error("Newly created Pod has a invalid storage")
|
||||
}
|
||||
pod.Spec.Volumes = nil
|
||||
if storageMatches(set, pod) {
|
||||
@@ -144,7 +144,7 @@ func TestUpdateStorage(t *testing.T) {
|
||||
set := newStatefulSet(3)
|
||||
pod := newStatefulSetPod(set, 1)
|
||||
if !storageMatches(set, pod) {
|
||||
t.Error("Newly created Pod has a invalid stroage")
|
||||
t.Error("Newly created Pod has a invalid storage")
|
||||
}
|
||||
pod.Spec.Volumes = nil
|
||||
if storageMatches(set, pod) {
|
||||
|
Reference in New Issue
Block a user