Commit d9423d45 authored by Eteri's avatar Eteri

fix test path 2

parent 74375035
...@@ -81,9 +81,8 @@ class TestSuite(BaseTestSuite): ...@@ -81,9 +81,8 @@ class TestSuite(BaseTestSuite):
test_list = [] test_list = []
for test_path in glob.glob('test*.py'): for test_path in glob.glob('test*.py'):
test_case = test_path.split(os.sep)[-1][:-3] # remove .py test_case = test_path.split(os.sep)[-1][:-3] # remove .py
print test_case
# testOooMonitorRequest is making testsuite stall. # testOooMonitorRequest is making testsuite stall.
test_list.append(test_case)
return test_list return test_list
def main(): def main():
...@@ -103,7 +102,7 @@ def main(): ...@@ -103,7 +102,7 @@ def main():
help='The Url of Master controling many suites', help='The Url of Master controling many suites',
default=None) default=None)
testList=["testIngestion.py"] #testList=["testIngestion.py"]
args = parser.parse_args() args = parser.parse_args()
master = taskdistribution.TaskDistributor(args.master_url) master = taskdistribution.TaskDistributor(args.master_url)
...@@ -113,6 +112,7 @@ def main(): ...@@ -113,6 +112,7 @@ def main():
node_quantity=args.node_quantity, node_quantity=args.node_quantity,
revision=revision) revision=revision)
print(suite.getTestList())
test_result = master.createTestResult(revision, suite.getTestList(), test_result = master.createTestResult(revision, suite.getTestList(),
args.test_node_title, suite.allow_restart, test_suite_title, args.test_node_title, suite.allow_restart, test_suite_title,
args.project_title) args.project_title)
......
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