Skip to content

Commit

Permalink
Clarify expected number on batches.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimf5 committed Dec 14, 2024
1 parent 05becf7 commit 96c2ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/trace_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_span(self):
break
time.sleep(0.01)

assert len(self.batches) > 0, "No spans received"
assert len(self.batches) == 1, "No spans received"
span = self.batches[0][0].scope_spans[0].spans.pop()
self.batches.clear()
return span
Expand Down

0 comments on commit 96c2ea0

Please sign in to comment.