Skip to content

Commit

Permalink
test skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cor committed Nov 19, 2024
1 parent 9c41fb8 commit 3437d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion testing/go/regression/tool/replay.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ ListenerLoop:
}
}
for _, failQuery := range options.FailQueries {
if message.String == failQuery {
if strings.Contains(message.String, failQuery) {
tracker.Failed++
tracker.AddFailure(ReplayTrackerItem{
Query: message.String,
Expand Down
1 change: 1 addition & 0 deletions testing/go/regression/tool/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,5 @@ WHERE pg_class.oid=indexrelid
AND indrelid=pg_class_2.oid
AND pg_class_2.relname = 'clstr_tst'
AND indisclustered;`,
`SELECT 1 FROM pg_catalog.pg_constraint WHERE conrelid = i.indrelid AND conindid = i.indexrelid`,
}

0 comments on commit 3437d17

Please sign in to comment.