Skip to content

Commit

Permalink
application_api: skip more tests under race
Browse files Browse the repository at this point in the history
Epic: CRDB-8308
Release note: None
  • Loading branch information
rickystewart committed Dec 20, 2023
1 parent 6096da0 commit e615aec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/application_api/sessions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ func TestListClosedSessions(t *testing.T) {
defer log.Scope(t).Close(t)

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

ctx := context.Background()
testCluster := serverutils.StartCluster(t, 3, base.TestClusterArgs{})
Expand Down
2 changes: 2 additions & 0 deletions pkg/server/application_api/sql_stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,8 @@ func TestStatusAPIStatements(t *testing.T) {
defer leaktest.AfterTest(t)()
defer log.Scope(t).Close(t)

skip.UnderRace(t, "probable OOM")

// Increase the timeout for the http client if under stress.
additionalTimeout := 0 * time.Second
if skip.Stress() {
Expand Down

0 comments on commit e615aec

Please sign in to comment.