diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-10-17 14:37:58 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-10-17 14:37:58 +0200 |
commit | b4173ec5154ca05eebe9a5ff583dcedcba1f7e76 (patch) | |
tree | 832131c321c35a5cda45518bc73202bdf186340f /test/functional/lib/vars.py | |
parent | 548e7f185de1c029a3ac28b35e818f4d765d1045 (diff) | |
download | rspamd-b4173ec5154ca05eebe9a5ff583dcedcba1f7e76.tar.gz rspamd-b4173ec5154ca05eebe9a5ff583dcedcba1f7e76.zip |
[Test] Wait for ports to be confirmed-free inbetween runs
Diffstat (limited to 'test/functional/lib/vars.py')
-rw-r--r-- | test/functional/lib/vars.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/functional/lib/vars.py b/test/functional/lib/vars.py index 917bde842..3ba68fea3 100644 --- a/test/functional/lib/vars.py +++ b/test/functional/lib/vars.py @@ -1,6 +1,8 @@ +import socket + KEY_PVT1 = 'ekd3x36tfa5gd76t6pa8hqif3ott7n1siuux68exbkk7ukscte9y' KEY_PUB1 = 'm8kneubpcjsb8sbsoj7jy7azj9fdd3xmj63txni86a8ye9ncomny' -LOCAL_ADDR = '127.0.0.1' +LOCAL_ADDR = u'127.0.0.1' PORT_CONTROLLER = 56790 PORT_CONTROLLER_SLAVE = 56793 PORT_FUZZY = 56791 @@ -8,7 +10,9 @@ PORT_FUZZY_SLAVE = 56792 PORT_NORMAL = 56789 PORT_NORMAL_SLAVE = 56794 PORT_PROXY = 56795 -REDIS_ADDR = '127.0.0.1' +REDIS_ADDR = u'127.0.0.1' REDIS_PORT = 56379 RSPAMD_GROUP = 'nogroup' RSPAMD_USER = 'nobody' +SOCK_DGRAM = socket.SOCK_DGRAM +SOCK_STREAM = socket.SOCK_STREAM |