Skip to content

Commit 703d34b

Browse files
committed
explain_test: deflake TestContentionTimeOnWrites
This test intentionally adds sleep time with an active write so that we can measure contention. Under duress, this can lead to WriteTooOld errors, so skip the test under duress. Fixes: #153394 Release note: None
1 parent 979a6a5 commit 703d34b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/sql/opt/exec/explain/output_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ func TestContentionTimeOnWrites(t *testing.T) {
235235
defer leaktest.AfterTest(t)()
236236
defer log.Scope(t).Close(t)
237237

238+
skip.UnderDuress(t, "see issue #153394")
239+
238240
ctx := context.Background()
239241
s, conn, _ := serverutils.StartServer(t, base.TestServerArgs{})
240242
defer s.Stopper().Stop(ctx)

0 commit comments

Comments
 (0)