From 55df5670db31698e4d25eb82626cdfbaea49edf2 Mon Sep 17 00:00:00 2001 From: John Gerrard Holland Date: Thu, 30 Nov 2023 08:45:34 -0500 Subject: [PATCH 1/3] test: increase deadline to 1000 on serialize/deserialize state (for yaml) --- tests/test_state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_state.py b/tests/test_state.py index 7fd665c3..3b784b87 100644 --- a/tests/test_state.py +++ b/tests/test_state.py @@ -12,7 +12,7 @@ @given(standard_state_dataclass_strategy(), serializer_dump_load_strategy()) -@settings(suppress_health_check={HealthCheck.too_slow}, deadline=500) +@settings(suppress_health_check={HealthCheck.too_slow}, deadline=1000) def test_state_serialize_deserialize(o: StandardStateDataClass, dump_load): o_loaded = dump_load(o) assert o.variables == o_loaded.variables From 2c7a8f82a2f23d7e12d8681f8a57af201ebd1aae Mon Sep 17 00:00:00 2001 From: John Gerrard Holland Date: Thu, 30 Nov 2023 11:57:17 -0500 Subject: [PATCH 2/3] test: increase deadline for serialize deserialize variables to 1000ms for yaml --- tests/test_variable.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_variable.py b/tests/test_variable.py index 0a9180a1..631f9cc3 100644 --- a/tests/test_variable.py +++ b/tests/test_variable.py @@ -1,6 +1,6 @@ import logging -from hypothesis import given +from hypothesis import given, settings from hypothesis import strategies as st from .test_serializer import serializer_dump_load_strategy @@ -16,6 +16,7 @@ ), serializer_dump_load_strategy(), ) +@settings(deadline=1000) def test_variable_serialize_deserialize(o, dump_load): o_loaded = dump_load(o) assert o_loaded == o From e710aa28c5b0064ec65232e780b2ace6c1cff3d1 Mon Sep 17 00:00:00 2001 From: John Gerrard Holland Date: Thu, 30 Nov 2023 11:57:17 -0500 Subject: [PATCH 3/3] test: increase deadline for serialize deserialize variables to 1000ms for yaml --- tests/test_variable.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_variable.py b/tests/test_variable.py index c4650347..aa85556f 100644 --- a/tests/test_variable.py +++ b/tests/test_variable.py @@ -1,6 +1,6 @@ import logging -from hypothesis import given +from hypothesis import given, settings from hypothesis import strategies as st from .test_serializer import serializer_dump_load_strategy @@ -16,6 +16,7 @@ ), serializer_dump_load_strategy, ) +@settings(deadline=1000) def test_variable_serialize_deserialize(o, dump_load): o_loaded = dump_load(o) assert o_loaded == o