aboutsummaryrefslogtreecommitdiffstats
path: root/prog/prio_test.go
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2020-07-21 15:53:02 +0200
committerAndrey Konovalov <andreyknvl@gmail.com>2020-07-21 16:47:38 +0200
commit21f1765e15967196c4f3c9756ae4ec8a1fa7996d (patch)
tree1f08b5f1e7c5fdb8861c3d4c4daeeef08c47b63a /prog/prio_test.go
parenta688ac13532252c1125ae8af6a190531d618ed8a (diff)
prog: more interations in prio test
Diffstat (limited to 'prog/prio_test.go')
-rw-r--r--prog/prio_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/prio_test.go b/prog/prio_test.go
index c28c0b610..902dbf3d4 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 = 1e5
+ const iters = 2e5
// 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"},