mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-10 00:29:01 +02:00
fix sample test
This commit is contained in:
parent
64f282161a
commit
7699351873
@ -21,8 +21,8 @@ func TestProbabilitySampling(t *testing.T) {
|
||||
count++
|
||||
}
|
||||
}
|
||||
if count < 60 || count > 120 {
|
||||
t.Errorf("expect count between 60~120 get %d", count)
|
||||
if count < 60 || count > 150 {
|
||||
t.Errorf("expect count between 60~150 get %d", count)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user