summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprathamesh2017-08-17 15:41:53 +0530
committerprathamesh2017-08-17 16:11:28 +0530
commit72311dbcda3689c46bc6f5e9b68d4a14ec7b161f (patch)
tree4ea09966ae4d859df8ad67a279f413c5bc2fe2cf
parentd108cd03e446dcac2b4eeeaec1ea17c47b205c78 (diff)
downloadonline_test-72311dbcda3689c46bc6f5e9b68d4a14ec7b161f.tar.gz
online_test-72311dbcda3689c46bc6f5e9b68d4a14ec7b161f.tar.bz2
online_test-72311dbcda3689c46bc6f5e9b68d4a14ec7b161f.zip
changed import from settings as per new code sever
-rw-r--r--yaksh/live_server_tests/load_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/live_server_tests/load_test.py b/yaksh/live_server_tests/load_test.py
index 47d267c..ee4549d 100644
--- a/yaksh/live_server_tests/load_test.py
+++ b/yaksh/live_server_tests/load_test.py
@@ -26,7 +26,7 @@ class YakshSeleniumTests(StaticLiveServerTestCase):
"yaksh.cpp_code_evaluator.CppCodeEvaluator"
settings.code_evaluators['bash']['standardtestcase'] = \
"yaksh.bash_code_evaluator.BashCodeEvaluator"
- code_server_pool = ServerPool(ports=settings.SERVER_PORTS, pool_port=settings.SERVER_POOL_PORT)
+ code_server_pool = ServerPool(n=settings.N_CODE_SERVERS, pool_port=settings.SERVER_POOL_PORT)
cls.code_server_pool = code_server_pool
cls.code_server_thread = t = Thread(target=code_server_pool.run)
t.start()