Skip to content

Commit

Permalink
constantify all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Nov 8, 2024
1 parent 437cbe2 commit e5a02b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
RPYC_SPAWN_TIME = 1.0
RPYC_MAX_REMOTE_CONNECTION_ATTEMPTS = 5
GDB_BINARY_PATH = which("gdb-multiarch")
RPYC_CONNECT_FAILURE_DELAY = 0.2


class RemoteGefUnitTestGeneric(unittest.TestCase):
Expand All @@ -41,7 +42,7 @@ def setUp(self) -> None:
attempt -= 1
if attempt == 0:
raise
time.sleep(0.2)
time.sleep(RPYC_CONNECT_FAILURE_DELAY)
continue

self._gdb = self._conn.root.gdb
Expand Down

0 comments on commit e5a02b1

Please sign in to comment.