Browse Source

add test for workers

1.4
clowwindy 11 years ago
parent
commit
aed707f47f
  1. 2
      .travis.yml
  2. 10
      test/workers.json

2
.travis.yml

@ -5,7 +5,7 @@ python:
before_install: before_install:
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq build-essential libssl-dev swig libevent-dev python-gevent python-m2crypto python-numpy - 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: script:
- python test.py -c test/table.json - python test.py -c test/table.json
- python test.py -c test/aes.json - python test.py -c test/aes.json

10
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
}
Loading…
Cancel
Save