Skip to content

Commit eaaf985

Browse files
authored
Skip test in report if RunTest is configured. (#3966)
1 parent 30a0767 commit eaaf985

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conformance/utils/suite/suite.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,9 @@ func (suite *ConformanceTestSuite) Run(t *testing.T, tests []ConformanceTest) er
461461
sleepForTestIsolation := false
462462
for _, test := range tests {
463463
res := testSucceeded
464+
if suite.RunTest != "" && test.ShortName != suite.RunTest {
465+
res = testSkipped
466+
}
464467
if suite.SkipTests.Has(test.ShortName) {
465468
res = testSkipped
466469
}

0 commit comments

Comments
 (0)