From 7751efd04aebb07bc82b5c0e8eeaca07be1ae112 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 7 Jun 2020 20:27:18 +0200 Subject: prog: increase number of iterations in a test The test is random and needs some large number of iterations to pass. It failed for me after an unrelated change in descriptions. So bump number of iterations. --- prog/prio_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prog/prio_test.go b/prog/prio_test.go index a09bd5438..c28c0b610 100644 --- a/prog/prio_test.go +++ b/prog/prio_test.go @@ -34,7 +34,7 @@ func TestStaticPriorities(t *testing.T) { rs := rand.NewSource(0) // The test is probabilistic and needs some sensible number of iterations to succeed. // If it fails try to increase the number a bit. - const iters = 5e4 + const iters = 1e5 // The first call is the one that creates a resource and the rest are calls that can use that resource. tests := [][]string{ {"open", "read", "write", "mmap"}, -- cgit mrf-deployment