Skip to content

Commit

Permalink
test: make the test fail without fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Taylor <[email protected]>
  • Loading branch information
systay committed Jun 27, 2024
1 parent d667eed commit 37c8f8f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package aggregation

import (
"fmt"
"math/rand/v2"
"math/rand"
"slices"
"sort"
"strings"
Expand Down Expand Up @@ -73,7 +73,7 @@ func TestAggrWithLimit(t *testing.T) {
defer closer()

for i := 0; i < 1000; i++ {
r := rand.IntN(10)
r := rand.Intn(50)
mcmp.Exec(fmt.Sprintf("insert into aggr_test(id, val1, val2) values(%d, 'a', %d)", i, r))
}
mcmp.Exec("select val2, count(*) from aggr_test group by val2 order by count(*), val2 limit 10")
Expand Down

0 comments on commit 37c8f8f

Please sign in to comment.