diff --git a/.travis.yml b/.travis.yml index 53c51fd4ede..5d52b6784cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -196,7 +196,7 @@ jobs: script: - python setup.py build_ext --inplace - pip install "qiskit-aer" - - travis_wait make test_randomized + - travis_wait 45 make test_randomized matrix: fast_finish: true diff --git a/requirements-dev.txt b/requirements-dev.txt index da04e2dadf4..6eba3f1bea1 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ coverage>=4.4.0 -hypothesis>=4.7.3 +hypothesis>=4.24.3 ipywidgets>=7.3.0 jupyter matplotlib>=2.1 diff --git a/test/randomized/test_transpiler_equivalence.py b/test/randomized/test_transpiler_equivalence.py index eda3f3e9741..b1e4d5517ad 100644 --- a/test/randomized/test_transpiler_equivalence.py +++ b/test/randomized/test_transpiler_equivalence.py @@ -17,7 +17,7 @@ import os -from hypothesis import assume +from hypothesis import assume, settings from hypothesis.stateful import multiple, rule, precondition, invariant from hypothesis.stateful import Bundle, RuleBasedStateMachine @@ -52,6 +52,9 @@ FakeTokyo(), FakePoughkeepsie()] +@settings(report_multiple_bugs=False, + max_examples=50, + deadline=None) class QCircuitMachine(RuleBasedStateMachine): """Build a Hypothesis rule based state machine for constructing, transpiling and simulating a series of random QuantumCircuits.