Skip to content

Commit

Permalink
upgrades: deflake TestRoleMembersIDMigration1500Users
Browse files Browse the repository at this point in the history
TeamCity has a new machine type where this test has started to time out
more, so this change will make it take less time.

Release note: None
  • Loading branch information
rafiss committed Aug 14, 2023
1 parent ea59ee1 commit 56b2c59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/upgrade/upgrades/role_members_ids_migration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ func TestRoleMembersIDMigration10Users(t *testing.T) {
runTestRoleMembersIDMigration(t, 10)
}

func TestRoleMembersIDMigration1500Users(t *testing.T) {
func TestRoleMembersIDMigration1000Users(t *testing.T) {
skip.UnderRace(t)
skip.UnderStress(t)
runTestRoleMembersIDMigration(t, 1500)
runTestRoleMembersIDMigration(t, 1000)
}

func runTestRoleMembersIDMigration(t *testing.T, numUsers int) {
Expand Down

0 comments on commit 56b2c59

Please sign in to comment.