Skip to content

Commit

Permalink
flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreben committed Oct 11, 2024
1 parent 874d786 commit 2e1679a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lsh/hashes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func TestBlur(t *testing.T) {
trials := 1000

for range trials {
h := lsh.RandomBlur(3, 10)
h := lsh.RandomBlur(3, 50)
if h.Hash1(x) == h.Hash1(y) {
xyEqual++
}
Expand All @@ -210,7 +210,7 @@ func TestBlur(t *testing.T) {
trials := 10_000

for range trials {
h := lsh.RandomBlurR(3, 10, testrandom.Source)
h := lsh.RandomBlurR(3, 50, testrandom.Source)
if h.Hash1(x) == h.Hash1(y) {
xyEqual++
}
Expand Down
4 changes: 2 additions & 2 deletions lsh/hashes_wide_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestBlurWide(t *testing.T) {
trials := 1000

for range trials {
h := lsh.RandomBlurWide(2, 3, 10)
h := lsh.RandomBlurWide(2, 3, 100)
if h.Hash1Wide(x) == h.Hash1Wide(y) {
xyEqual++
}
Expand All @@ -81,7 +81,7 @@ func TestBlurWide(t *testing.T) {
trials := 1000

for range trials {
h := lsh.RandomBlurWideR(2, 3, 10, testrandom.Source)
h := lsh.RandomBlurWideR(2, 3, 100, testrandom.Source)
if h.Hash1Wide(x) == h.Hash1Wide(y) {
xyEqual++
}
Expand Down

0 comments on commit 2e1679a

Please sign in to comment.