Skip to content

Commit fd44512

Browse files
committed
test_shard_aware.py: print tracing source
When analyzing output of failed test it is useful to know which node emitted which message.
1 parent 6837233 commit fd44512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/standard/test_shard_aware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def verify_same_shard_in_tracing(self, results, shard_name):
6060
traces = results.get_query_trace()
6161
events = traces.events
6262
for event in events:
63-
LOGGER.info("%s %s", event.thread_name, event.description)
63+
LOGGER.info("%s %s %s", event.source, event.thread_name, event.description)
6464
for event in events:
6565
self.assertEqual(event.thread_name, shard_name)
6666
self.assertIn('querying locally', "\n".join([event.description for event in events]))

0 commit comments

Comments
 (0)