Skip to content

Commit 63995ce

Browse files
Increase test timeout
On MacOS we are seeing GitHub Actions take 15+ seconds to start a new Process. Also added some more logging for additional diagnosis
1 parent 9e36543 commit 63995ce

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
WAVEFORM_LENGTH = 40
2222

2323
# Default timeout for many operations across testing
24-
TIMEOUT = 10 # Seconds
24+
TIMEOUT = 20 # Seconds
2525

2626
# Address for multiprocessing Listener/Client pair
2727
ADDRESS = ("localhost", 2345)

tests/test_record_values.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,9 @@ def test_value_none_rejected_set_before_init(
753753

754754
def none_value_test_func(self, record_func, queue):
755755
"""Start the IOC and catch the expected exception"""
756+
757+
log("CHILD: Child started")
758+
756759
kwarg = {}
757760
if record_func in [builder.WaveformIn, builder.WaveformOut]:
758761
kwarg = {"length": WAVEFORM_LENGTH} # Must specify when no value

tests/test_records.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ def on_update_test_func(
459459
self, device_name, record_func, conn, always_update
460460
):
461461

462+
log("CHILD: Child started")
463+
462464
builder.SetDeviceName(device_name)
463465

464466
li = builder.longIn("ON-UPDATE-COUNTER-RECORD", initial_value=0)

0 commit comments

Comments
 (0)