add test for workers
This commit is contained in:
parent
2036446d1a
commit
aed707f47f
2 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
10
test/workers.json
Normal file
10
test/workers.json
Normal file
|
@ -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…
Reference in a new issue