From 1ba3ac5dccc341acab05b397c2a12d4aa3e45b6f Mon Sep 17 00:00:00 2001 From: Ben Hauser Date: Sat, 12 Jun 2021 20:14:11 +0400 Subject: [PATCH] test(fix): reduce max examples on slow test --- tests/integration/FeeDistributor/test_checkpoint_ts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/FeeDistributor/test_checkpoint_ts.py b/tests/integration/FeeDistributor/test_checkpoint_ts.py index e8751721..dad854b7 100644 --- a/tests/integration/FeeDistributor/test_checkpoint_ts.py +++ b/tests/integration/FeeDistributor/test_checkpoint_ts.py @@ -1,5 +1,6 @@ import pytest from brownie.test import given, strategy +from hypothesis import settings WEEK = 86400 * 7 @@ -20,6 +21,7 @@ def distributor(accounts, chain, fee_distributor, voting_escrow, token): st_locktime=strategy("uint256[10]", min_value=1, max_value=52, unique=True), st_sleep=strategy("uint256[10]", min_value=1, max_value=30, unique=True), ) +@settings(max_examples=10) def test_checkpoint_total_supply( accounts, chain, distributor, voting_escrow, st_amount, st_locktime, st_sleep ):