Insert a small timeout before reporting the test successful
[cascardo/ipsilon.git] / tests / tests.py
index 6dfd8c4..a8b42e4 100755 (executable)
@@ -23,6 +23,7 @@ from ipsilon.util import plugin
 import os
 import sys
 import subprocess
+import time
 import traceback
 
 
@@ -103,4 +104,6 @@ if __name__ == '__main__':
     finally:
         test.wait()
 
+    # Wait until all of the sockets are closed by the OS
+    time.sleep(0.5)
     print "FINISHED"