Skip to content

Commit 1c97c69

Browse files
committed
Merge pull request #797 from paulbellamy/test-race-condition
Fix race condition in integration regression tests
2 parents 81bf8e6 + 19291ee commit 1c97c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@ def test_792_explicit_port_protocol(self):
17621762

17631763
tcp_port, udp_port = random.sample(range(9999, 32000), 2)
17641764
ctnr = self.client.create_container(
1765-
BUSYBOX, 'true', ports=[2000, (2000, 'udp')],
1765+
BUSYBOX, ['sleep', '9999'], ports=[2000, (2000, 'udp')],
17661766
host_config=self.client.create_host_config(
17671767
port_bindings={'2000/tcp': tcp_port, '2000/udp': udp_port}
17681768
)

0 commit comments

Comments
 (0)