Skip to content
This repository was archived by the owner on Apr 17, 2019. It is now read-only.

Commit ee845b5

Browse files
authored
Merge pull request #1245 from freehan/e2erunner
bug fix in e2e.go unit test
2 parents 5de6bb9 + 076ba0e commit ee845b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mungegithub/mungers/e2e/e2e_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -629,9 +629,9 @@ func TestJUnitFailureParse(t *testing.T) {
629629
t.Fatalf("Parse error? %v", err)
630630
}
631631
if e, a := map[string]string{
632-
"TestPersistentVolumeMultiPVs {integration}": "persistent_volumes_test.go:254: volumes created
persistent_volumes_test.go:260: claim created
persistent_volumes_test.go:264: volume bound
persistent_volumes_test.go:266: claim bound
persistent_volumes_test.go:284: Bind mismatch! Expected pvc-2 capacity 50000000000 but got fake-pvc-72 capacity 5000000000",
633-
"TestPersistentVolumeMultiPVsPVCs {integration}": "persistent_volumes_test.go:379: PVC "pvc-0" is not bound",
634-
}, got; reflect.DeepEqual(e, a) {
632+
"TestPersistentVolumeMultiPVs {integration}": "persistent_volumes_test.go:254: volumes created\npersistent_volumes_test.go:260: claim created\npersistent_volumes_test.go:264: volume bound\npersistent_volumes_test.go:266: claim bound\npersistent_volumes_test.go:284: Bind mismatch! Expected pvc-2 capacity 50000000000 but got fake-pvc-72 capacity 5000000000",
633+
"TestPersistentVolumeMultiPVsPVCs {integration}": `persistent_volumes_test.go:379: PVC "pvc-0" is not bound`,
634+
}, got; !reflect.DeepEqual(e, a) {
635635
t.Errorf("Expected %v, got %v", e, a)
636636
}
637637
}

0 commit comments

Comments
 (0)