HTTP Server Example Tests : Fix various issues

* Fixed regex constraints for parsing IP and other parameters from monitor log.
* httplib connection timeouts set
* Redundent tests (commented out earlier) have been removed from advanced_tests. These tests are already run during unit testing.
This commit is contained in:
Anurag Kar
2018-09-03 02:31:44 +05:30
parent a557e8cc14
commit 3ed5af18fd
10 changed files with 44 additions and 302 deletions

View File

@@ -18,7 +18,7 @@ import httplib
import argparse
def start_session (ip, port):
return httplib.HTTPConnection(ip, int(port))
return httplib.HTTPConnection(ip, int(port), timeout=15)
def end_session (conn):
conn.close()