Просмотр исходного кода

test(e2e): tighten v2 operational make assertion

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Moritz Johner 2 месяцев назад
Родитель
Сommit
787154c9b6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      e2e/makefile_test.go

+ 1 - 1
e2e/makefile_test.go

@@ -172,7 +172,7 @@ func TestV2OperationalMakeTarget(t *testing.T) {
 	if !strings.Contains(dryRun, "V2_GINKGO_LABELS=") || !strings.Contains(dryRun, "v2 && operational && fake") {
 		t.Fatalf("expected operational labels in target, got:\n%s", dryRun)
 	}
-	if !strings.Contains(dryRun, "V2_TEST_SUITES=") || !strings.Contains(dryRun, "provider") {
+	if !strings.Contains(dryRun, "V2_TEST_SUITES='provider'") {
 		t.Fatalf("expected provider suite in target, got:\n%s", dryRun)
 	}
 	if !strings.Contains(dryRun, `TEST_SUITES="provider"`) {