Skip to content

Commit

Permalink
Update test_poc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Faircloth committed Jun 29, 2019
1 parent fb1e8bc commit 4cb64b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_poc.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setup_wordlist():
@pytest.fixture
def setup_splunk():
tried=0
while true:
while True:
try:
c = client.connect(username="admin", password="Changed@11", host="splunk", port="8089")
except ConnectionRefusedError:
Expand All @@ -41,7 +41,6 @@ def sendsingle(message):

tried = 0
try:

sock.connect(server_address)
except:
if tried > 90:
Expand Down

0 comments on commit 4cb64b1

Please sign in to comment.