summaryrefslogtreecommitdiff
path: root/Command/FuzzTest.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-25 17:18:37 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-25 17:18:37 -0400
commit8f1c18b08b3f3805b268dc0b87440d8bb56f46a9 (patch)
tree762097473a2664da7bfa7b12abc8c2ea800e8c98 /Command/FuzzTest.hs
parentddae5cfa5158adba8694e4e9ea34428bd3f4b777 (diff)
tune frequencies to avoid enormous trees being created
Diffstat (limited to 'Command/FuzzTest.hs')
-rw-r--r--Command/FuzzTest.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/FuzzTest.hs b/Command/FuzzTest.hs
index d038c82d3..bda2372a8 100644
--- a/Command/FuzzTest.hs
+++ b/Command/FuzzTest.hs
@@ -151,8 +151,8 @@ data FuzzAction
instance Arbitrary FuzzAction where
arbitrary = frequency
- [ (100, FuzzAdd <$> arbitrary)
- , (10, FuzzDelete <$> arbitrary)
+ [ (50, FuzzAdd <$> arbitrary)
+ , (50, FuzzDelete <$> arbitrary)
, (10, FuzzMove <$> arbitrary <*> arbitrary)
, (10, FuzzModify <$> arbitrary)
, (10, FuzzDeleteDir <$> arbitrary)