Skip to content

Commit f3b36cf

Browse files
Increase timeout to alleviate test failures
MacOS CI test runners seem very slow and have intermittent timeout-related failures
1 parent 7871e2a commit f3b36cf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/test_records.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
)
2121

2222

23+
# Test parameters
24+
DEVICE_NAME = "SOFT-IOC-TESTS"
25+
RECORD_NAME = "OUT-RECORD"
26+
TIMEOUT = 5 # Seconds
27+
28+
2329
def _clear_records():
2430
# Remove any records created at epicsdbbuilder layer
2531
ResetRecords()
@@ -283,10 +289,6 @@ class GetValueEnum(Enum):
283289
CAGET = 2
284290

285291

286-
DEVICE_NAME = "SOFT-IOC-TESTS"
287-
RECORD_NAME = "OUT-RECORD"
288-
TIMEOUT = 3
289-
290292
def run_ioc(creation_func, initial_value, queue, set_enum):
291293
"""Creates a record and starts the IOC. `initial_value` will be set on
292294
the record at different times based on the `set_enum` parameter."""

0 commit comments

Comments
 (0)