Skip to content

Commit

Permalink
update salt again
Browse files Browse the repository at this point in the history
  • Loading branch information
dnr committed Oct 25, 2024
1 parent a668f00 commit 904aa4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/testcore/functional_test_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,7 @@ func CheckTestShard(t *testing.T, atTestLevel bool) {

// This was determined empirically to distribute our existing test names
// reasonably well. This can be adjusted from time to time.
// For parallelism 4, use 11. For 3, use 26. For 2, use 20.
const salt = "-salt-26"
const salt = "-salt-107"

nameToHash := t.Name() + salt
testIndex := int(farm.Fingerprint32([]byte(nameToHash))) % total
Expand Down

0 comments on commit 904aa4c

Please sign in to comment.