Commit 83e62d7e authored by Eteri's avatar Eteri

fix taskdistributor

parent fcdba69d
...@@ -8,6 +8,9 @@ import SocketServer ...@@ -8,6 +8,9 @@ import SocketServer
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
from erp5.util import taskdistribution from erp5.util import taskdistribution
from erp5.util.testsuite import TestSuite as BaseTestSuite from erp5.util.testsuite import TestSuite as BaseTestSuite
from erp5.util.testsuite import SubprocessError
import shlex
#class Server(BaseHTTPRequestHandler): #class Server(BaseHTTPRequestHandler):
...@@ -94,7 +97,7 @@ def main(): ...@@ -94,7 +97,7 @@ def main():
testList=["/srv/slapgrid/slappart0/srv/runner/project/slapos/software/fluentTest/testIngestion.py"] testList=["/srv/slapgrid/slappart0/srv/runner/project/slapos/software/fluentTest/testIngestion.py"]
args = parser.parse_args() args = parser.parse_args()
master = taskdistribution.TaskDistributionTool(args.master_url) master = taskdistribution.TaskDistributor(args.master_url)
test_suite_title = args.test_suite_title or args.test_suite test_suite_title = args.test_suite_title or args.test_suite
revision = args.revision revision = args.revision
suite = TestSuite(1, test_suite=args.test_suite, suite = TestSuite(1, test_suite=args.test_suite,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment