Skip to content

Commit 3b58050

Browse files
committed
remove obsolete assertion related to client telemetry
1 parent 5cf715c commit 3b58050

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/integ/test_cursor.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,10 +1566,11 @@ def test_resultbatch(
15661566
isinstance(p, expected_chunk_type) for p in pre_pickle_partitions
15671567
)
15681568
pickle_str = pickle.dumps(pre_pickle_partitions)
1569-
assert any(
1570-
t.message["type"] == TelemetryField.GET_PARTITIONS_USED.value
1571-
for t in telemetry_data.records
1572-
)
1569+
# note (whummer): commenting out the check below, as telemetry is disabled in the emulator
1570+
# assert any(
1571+
# t.message["type"] == TelemetryField.GET_PARTITIONS_USED.value
1572+
# for t in telemetry_data.records
1573+
# )
15731574
post_pickle_partitions: list[ResultBatch] = pickle.loads(pickle_str)
15741575
total_rows = 0
15751576
# Make sure the batches can be iterated over individually

0 commit comments

Comments
 (0)