Commit 8c09dbe0 authored by Boxiang Sun's avatar Boxiang Sun

To confirm we got expected output from multiple thread in the end

parent 66330ce7
...@@ -13,7 +13,9 @@ def run(env, python_path): ...@@ -13,7 +13,9 @@ def run(env, python_path):
shell=True, shell=True,
) )
failure_count = 0 failure_count = 0
if len(source) != 30: expected_result = b'2\n' * 5 + b'3\n' * 5 + b'4\n' * 5
if source != expected_result:
failure_count = 1 failure_count = 1
result_dict = {'failed': failure_count, 'stdout': source} result_dict = {'failed': failure_count, 'stdout': source}
return result_dict return result_dict
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