Skip to content

Commit

Permalink
refactor: compared the array
Browse files Browse the repository at this point in the history
  • Loading branch information
changemyminds committed Apr 10, 2024
1 parent c4e14a7 commit 71a2ecb
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,7 @@ def test_trace_context_propagation_in_thread_pool_with_multiple_workers(
result_span_contexts = [future.result() for future in futures_list]

# check result
self.assertEqual(len(result_span_contexts), max_workers)
self.assertEqual(
len(result_span_contexts), len(expected_span_contexts)
)
for index, result_span_context in enumerate(result_span_contexts):
self.assertEqual(
result_span_context, expected_span_contexts[index]
)
self.assertEqual(result_span_contexts, expected_span_contexts)

def test_trace_context_propagation_in_thread_pool_with_single_worker(self):
max_workers = 1
Expand Down

0 comments on commit 71a2ecb

Please sign in to comment.