Skip to content

Commit

Permalink
Removing flaky test (aws#2621)
Browse files Browse the repository at this point in the history
  • Loading branch information
maddeleine authored Feb 26, 2021
1 parent b93016c commit 27774a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/integration/s2n_client_endpoint_handshake_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
{"endpoint": "amazon.com"},
{"endpoint": "facebook.com"},
{"endpoint": "google.com"},
{"endpoint": "netflix.com"},
{"endpoint": "s3.amazonaws.com"},
{"endpoint": "twitter.com"},
{"endpoint": "wikipedia.org"},
Expand Down Expand Up @@ -127,7 +126,7 @@ def well_known_endpoints_test(use_corked_io, tls13_enabled):
# Retry handshake in case there are any problems going over the internet
for i in range(1, maxRetries):
ret = try_client_handshake(endpoint, arguments, expected_cipher)
if ret is 0:
if ret == 0:
break
else:
time.sleep(i)
Expand Down

0 comments on commit 27774a1

Please sign in to comment.