Skip to content

Commit 603248a

Browse files
committed
tune timeouts for CI
1 parent a417c9d commit 603248a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/transport/epics/pva/test_p4p.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424

2525
@pytest.mark.asyncio
26+
@pytest.mark.timeout(2)
2627
async def test_ioc(p4p_subprocess: tuple[str, Queue]):
2728
pv_prefix, _ = p4p_subprocess
2829
ctxt = Context("pva")
@@ -74,7 +75,7 @@ async def test_ioc(p4p_subprocess: tuple[str, Queue]):
7475

7576

7677
@pytest.mark.asyncio
77-
@pytest.mark.timeout(4)
78+
@pytest.mark.timeout(5)
7879
async def test_scan_method(p4p_subprocess: tuple[str, Queue]):
7980
pv_prefix, _ = p4p_subprocess
8081
ctxt = Context("pva")
@@ -114,6 +115,7 @@ async def test_scan_method(p4p_subprocess: tuple[str, Queue]):
114115

115116

116117
@pytest.mark.asyncio
118+
@pytest.mark.timeout(2)
117119
async def test_command_method(p4p_subprocess: tuple[str, Queue]):
118120
pv_prefix, _ = p4p_subprocess
119121
d_values = asyncio.Queue()
@@ -175,6 +177,7 @@ async def test_command_method(p4p_subprocess: tuple[str, Queue]):
175177

176178

177179
@pytest.mark.asyncio
180+
@pytest.mark.timeout(2)
178181
async def test_numerical_alarms(p4p_subprocess: tuple[str, Queue]):
179182
pv_prefix, _ = p4p_subprocess
180183
a_values = asyncio.Queue()

0 commit comments

Comments
 (0)