diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-01 17:16:32 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-01 17:16:32 -0700 |
commit | fc41ff372d9fc58957268421d8b795708d0013c9 (patch) | |
tree | 2c178a90564441aaf22fdc9861d7ad44fd9d2fd7 /tests/socket_relay.py | |
parent | 328e02c33d4f59d6beb8212030460fec1c3db230 (diff) |
improve websocket harness durability
Diffstat (limited to 'tests/socket_relay.py')
-rw-r--r-- | tests/socket_relay.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/socket_relay.py b/tests/socket_relay.py index e5b3ccef..c7adcbfe 100644 --- a/tests/socket_relay.py +++ b/tests/socket_relay.py @@ -10,7 +10,8 @@ and then make a connection to another port, and do bidirectional communication. We need to actually listen on both ports. ''' -import os, sys, socket, time, threading +import os, sys, socket, time, threading, signal +from subprocess import Popen, PIPE, STDOUT ports = [int(sys.argv[1]), int(sys.argv[2])] |