Skip to content

Commit

Permalink
fix: test failing from distribution %
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathannorris committed Dec 13, 2024
1 parent 6f1dc74 commit 420b9ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ describe('User Hashing and Bucketing', () => {
],
}

// run 100,000 times to get a good distribution
for (let i = 0; i < 100000; i++) {
// run 200,000 times to get a good distribution
for (let i = 0; i < 200000; i++) {
const user_id = uuid.v4()
const { bucketingHash } = generateBoundedHashes(
user_id,
Expand Down
4 changes: 2 additions & 2 deletions lib/shared/bucketing/__tests__/bucketing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ describe('User Hashing and Bucketing', () => {
],
}

// run 100,000 times to get a good distribution
times(100000, () => {
// run 200,000 times to get a good distribution
times(200000, () => {
const user_id = uuid.v4()
const { bucketingHash } = generateBoundedHashes(
user_id,
Expand Down

0 comments on commit 420b9ca

Please sign in to comment.