We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a29963b commit 3bafa1cCopy full SHA for 3bafa1c
src/sentry/testutils/hybrid_cloud.py
@@ -82,11 +82,11 @@ def connection_transaction_depth_above_watermark(
82
connection = transaction.get_connection(using or "default")
83
return max(self.get_transaction_depth(connection) - self.state.get(connection.alias, 0), 0)
84
85
- def connections_above_watermark(self) -> set[str]:
86
- result = set()
+ def connections_above_watermark(self) -> dict[str, object]:
+ result = {}
87
for connection in connections.all():
88
if self.connection_transaction_depth_above_watermark(connection=connection):
89
- result.add(connection.alias)
+ result[connection.alias] = connection.queries_log
90
return result
91
92
0 commit comments