Skip to content

Commit a0d1816

Browse files
jdoupemattlord
andauthored
Update test/integration/vitesscluster/vitesscluster_test.go
Co-authored-by: Matt Lord <[email protected]>
1 parent 89242c4 commit a0d1816

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/integration/vitesscluster/vitesscluster_test.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,8 @@ func TestVtbackupExtraFlagsPropagated(t *testing.T) {
200200
}
201201
}
202202
joined := strings.Join(args, " ")
203-
if !strings.Contains(joined, "--foo=bar") {
204-
f.Fatalf("vtbackup args missing --foo=bar: %v", args)
205-
}
206-
if !strings.Contains(joined, "--baz=qux") {
207-
f.Fatalf("vtbackup args missing --baz=qux: %v", args)
208-
}
203+
require.Contains(t, joined, "--foo=bar", "vtbackup args missing --foo=bar: %v", args)
204+
require.Contains(t, joined, "--baz=qux", "vtbackup args missing --baz=qux: %v", args)
209205
}
210206

211207
func verifyBasicVitessCluster(f *framework.Fixture, ns, cluster string) {

0 commit comments

Comments
 (0)