Skip to content

Commit 03fccd6

Browse files
Merge pull request #11 from mnordsletten/xx
Test: Set a timeout for microlb get connection
2 parents 9cfc81e + 6a5f8a5 commit 03fccd6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • test/net/integration/microLB

test/net/integration/microLB/test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
expected_string = "#" * 1024 * 1024 * 50
1717

1818
def validateRequest(addr):
19-
response = requests.get('https://10.0.0.68:443', verify=False)
20-
#print (response.content)
19+
response = requests.get('https://10.0.0.68:443', verify=False, timeout=5)
2120
return (response.content) == str(addr) + expected_string
2221

2322
# start nodeJS

0 commit comments

Comments
 (0)