Skip to content

Commit 8b05b9a

Browse files
committed
Correctly skip skipped assertions in transaction tests
1 parent aec3fea commit 8b05b9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

enginetest/evaluation.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ func TestTransactionScriptWithEngine(t *testing.T, e QueryEngine, harness Harnes
300300
if sh, ok := harness.(SkippingHarness); ok && sh.SkipQueryTest(assertion.Query) {
301301
t.Skip()
302302
}
303+
304+
if assertion.Skip {
305+
t.Skip()
306+
}
303307

304308
if assertion.ExpectedErr != nil {
305309
AssertErrWithCtx(t, e, harness, clientSession, assertion.Query, assertion.Bindings, assertion.ExpectedErr)

0 commit comments

Comments
 (0)