Skip to content

Commit 1fdc2f8

Browse files
committed
[lldb] Fixed a typo
1 parent a1345eb commit 1fdc2f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,21 +397,21 @@ def connect_to_debug_monitor(self, attach_pid=None):
397397
# Schedule debug monitor to be shut down during teardown.
398398
logger = self.logger
399399

400-
connect_attemps = 0
400+
connect_attempts = 0
401401
MAX_CONNECT_ATTEMPTS = 10
402402

403-
while connect_attemps < MAX_CONNECT_ATTEMPTS:
403+
while connect_attempts < MAX_CONNECT_ATTEMPTS:
404404
# Create a socket to talk to the server
405405
try:
406-
logger.info("Connect attempt %d", connect_attemps + 1)
406+
logger.info("Connect attempt %d", connect_attempts + 1)
407407
self.sock = self.create_socket()
408408
self._server = Server(self.sock, server)
409409
return server
410410
except _ConnectionRefused as serr:
411411
# Ignore, and try again.
412412
pass
413413
time.sleep(0.5)
414-
connect_attemps += 1
414+
connect_attempts += 1
415415

416416
# We should close the server here to be safe.
417417
server.terminate()

0 commit comments

Comments
 (0)