From aed707f47fae38a34b5a15090c02a2e91858a966 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sat, 17 May 2014 14:38:25 +0800 Subject: [PATCH] add test for workers --- .travis.yml | 2 +- test/workers.json | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 test/workers.json diff --git a/.travis.yml b/.travis.yml index a00c41d..1f62409 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ python: before_install: - sudo apt-get update -qq - sudo apt-get install -qq build-essential libssl-dev swig libevent-dev python-gevent python-m2crypto python-numpy - - pip install gevent m2crypto salsa20 + - pip install salsa20 script: - python test.py -c test/table.json - python test.py -c test/aes.json diff --git a/test/workers.json b/test/workers.json new file mode 100644 index 0000000..4fd9d6b --- /dev/null +++ b/test/workers.json @@ -0,0 +1,10 @@ +{ + "server":"127.0.0.1", + "server_port":8388, + "local_port":1080, + "password":"barfoo!", + "timeout":300, + "method":"aes-256-cfb", + "local_address":"127.0.0.1", + "workers": 2 +}