summaryrefslogtreecommitdiffstats
path: root/scripts/lib/scriptpath.py
diff options
context:
space:
mode:
authorTim Orling <tim.orling@konsulko.com>2024-02-29 15:00:26 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-01 09:32:13 +0000
commit25d60ac6f61cc186b4c5a961554bee583736fd17 (patch)
treecaea20da06d36f1c9e6c8eab79604ac19eeb2178 /scripts/lib/scriptpath.py
parent3970a4888556bde1f893757eae603c9619cfec5f (diff)
downloadpoky-25d60ac6f61cc186b4c5a961554bee583736fd17.tar.gz
python3-attrs: disable Hypothesis deadline
The deadline is by default 200ms, but this is intended to be useful to the developer and not necessarily recommended for heavily loaded CI systems. Avoid warnings by disabling the deadline completely. https://github.com/HypothesisWorks/hypothesis/issues/3713 https://hypothesis.readthedocs.io/en/latest/settings.html#hypothesis.settings.deadline https://lists.openembedded.org/g/openembedded-core/topic/104640034#196437 https://github.com/python-attrs/attrs/pull/1252 Fixes: """ Unreliable test timings! On an initial run, this test took 268.29ms, which exceeded the deadline of 200.00ms, but on a subsequent run it took 2.63 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None. """ [YOCTO #15350] (From OE-Core rev: f6064e573b68104d57565c57bfe43f0d708a14f6) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions