Skip to content

Commit

Permalink
upgrades: skip TestRoleIDMigration15000Users under race
Browse files Browse the repository at this point in the history
It consistently times out under race.

Release note: none.
  • Loading branch information
dt committed Sep 8, 2022
1 parent e39111b commit dadda8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/upgrade/upgrades/role_id_migration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func TestRoleIDMigration100User(t *testing.T) {

func TestRoleIDMigration15000Users(t *testing.T) {
skip.UnderStress(t)
skip.UnderRace(t)
// 15000 is 1.5x the batch size used in the migration.
runTestRoleIDMigration(t, 15000)
}
Expand Down
1 change: 1 addition & 0 deletions pkg/upgrade/upgrades/role_options_migration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ func TestRoleOptionsMigration100User(t *testing.T) {

func TestRoleOptionsMigration15000User(t *testing.T) {
skip.UnderStress(t)
skip.UnderRace(t)
runTestRoleOptionsMigration(t, 15000)
}

Expand Down

0 comments on commit dadda8f

Please sign in to comment.