diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-12-18 11:46:24 -0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-12-18 11:46:24 -0200 |
commit | e19be085ca673504e9e0b481eeafaaaf02e45f3f (patch) | |
tree | f4f590fa466a26a4785795ac8c5839a9acbbdf27 /service/test/support/dispatcher/run.py | |
parent | 0a6f346fc2c1e3294d6216e3b1f662124ecf7de0 (diff) |
Running functional tests behind tornado proxy: breaking the build :)
Diffstat (limited to 'service/test/support/dispatcher/run.py')
-rw-r--r-- | service/test/support/dispatcher/run.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/service/test/support/dispatcher/run.py b/service/test/support/dispatcher/run.py new file mode 100644 index 00000000..98627ba7 --- /dev/null +++ b/service/test/support/dispatcher/run.py @@ -0,0 +1,8 @@ +from test.support.dispatcher.proxy import Proxy + +if __name__ in ('main', '__main__'): + proxy = Proxy(proxy_port='8888', app_port='3333') + try: + proxy.serve_forever() + except Exception, e: + proxy.shutdown()
\ No newline at end of file |