Skip to content

Commit 8f3a566

Browse files
test_is_port_free__true is updated
A number of attempts is increased to 128. The previous value (10) is not enough and test could fail.
1 parent 0058508 commit 8f3a566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_os_ops_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ def test_touch(self, os_ops: OsOperations):
654654
def test_is_port_free__true(self, os_ops: OsOperations):
655655
assert isinstance(os_ops, OsOperations)
656656

657-
C_LIMIT = 10
657+
C_LIMIT = 128
658658

659659
ports = set(range(1024, 65535))
660660
assert type(ports) == set # noqa: E721

0 commit comments

Comments
 (0)