Skip to content
Snippets Groups Projects
Commit 0c1b5e0c authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

more unit tests

parent 29f66533
No related branches found
No related tags found
No related merge requests found
......@@ -30,8 +30,8 @@ class TestConcurrent(unittest.TestCase):
return x*2
tpe = ThreadPoolExecutor(max_workers=2)
ret = parallel_construct([1, 2, 3], mult2, tpe)
with mock.start_active_span('Test span'):
ret = parallel_construct([1, 2, 3], mult2, tpe)
self.assertEqual(ret, [2, 4, 6])
def test_monitor_set(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment