Skip to content

Commit

Permalink
Increase test timeout
Browse files Browse the repository at this point in the history
On MacOS we are seeing GitHub Actions take 15+ seconds to start a new
Process.

Also added some more logging for additional diagnosis
  • Loading branch information
AlexanderWells-diamond committed Mar 7, 2023
1 parent 9e36543 commit 63995ce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
WAVEFORM_LENGTH = 40

# Default timeout for many operations across testing
TIMEOUT = 10 # Seconds
TIMEOUT = 20 # Seconds

# Address for multiprocessing Listener/Client pair
ADDRESS = ("localhost", 2345)
Expand Down
3 changes: 3 additions & 0 deletions tests/test_record_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,9 @@ def test_value_none_rejected_set_before_init(

def none_value_test_func(self, record_func, queue):
"""Start the IOC and catch the expected exception"""

log("CHILD: Child started")

kwarg = {}
if record_func in [builder.WaveformIn, builder.WaveformOut]:
kwarg = {"length": WAVEFORM_LENGTH} # Must specify when no value
Expand Down
2 changes: 2 additions & 0 deletions tests/test_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,8 @@ def on_update_test_func(
self, device_name, record_func, conn, always_update
):

log("CHILD: Child started")

builder.SetDeviceName(device_name)

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

0 comments on commit 63995ce

Please sign in to comment.