Skip to content

Commit e615aec

Browse files
committed
application_api: skip more tests under race
Epic: CRDB-8308 Release note: None
1 parent 6096da0 commit e615aec

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

pkg/server/application_api/sessions_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ func TestListClosedSessions(t *testing.T) {
324324
defer log.Scope(t).Close(t)
325325

326326
// The active sessions might close before the stress race can finish.
327-
skip.UnderStressRace(t, "active sessions")
327+
skip.UnderRace(t, "active sessions")
328328

329329
ctx := context.Background()
330330
testCluster := serverutils.StartCluster(t, 3, base.TestClusterArgs{})

pkg/server/application_api/sql_stats_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,8 @@ func TestStatusAPIStatements(t *testing.T) {
395395
defer leaktest.AfterTest(t)()
396396
defer log.Scope(t).Close(t)
397397

398+
skip.UnderRace(t, "probable OOM")
399+
398400
// Increase the timeout for the http client if under stress.
399401
additionalTimeout := 0 * time.Second
400402
if skip.Stress() {

0 commit comments

Comments
 (0)