fix sample result

pull/202/head
Tony 5 years ago
parent 72193e3ef5
commit ab4e2dafa9
  1. 4
      pkg/net/trace/sample_test.go

@ -21,8 +21,8 @@ func TestProbabilitySampling(t *testing.T) {
count++ count++
} }
} }
if count < 80 || count > 120 { if count < 60 || count > 120 {
t.Errorf("expect count between 80~120 get %d", count) t.Errorf("expect count between 60~120 get %d", count)
} }
}) })
} }

Loading…
Cancel
Save