From 85b5cbc28d8e9e9678f35c2ed40b209642af122f Mon Sep 17 00:00:00 2001 From: Dennis Felsing Date: Thu, 2 Jan 2025 16:05:28 +0000 Subject: [PATCH] testdrive: Remove further source stats flakiness See https://github.com/MaterializeInc/database-issues/issues/8848 Noticed in https://buildkite.com/materialize/nightly/builds/10760#0194246d-b7de-4481-a6bb-aab5f27f40c4 --- .../statistics-maintenance.td | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/testdrive-old-kafka-src-syntax/statistics-maintenance.td b/test/testdrive-old-kafka-src-syntax/statistics-maintenance.td index 295f372f62270..01e420a6ff9d3 100644 --- a/test/testdrive-old-kafka-src-syntax/statistics-maintenance.td +++ b/test/testdrive-old-kafka-src-syntax/statistics-maintenance.td @@ -53,13 +53,12 @@ one:two sink1 1 1 true true > SELECT s.name, - SUM(u.updates_committed) > 0, SUM(u.messages_received) FROM mz_sources s JOIN mz_internal.mz_source_statistics_raw u ON s.id = u.id WHERE s.name IN ('upsert1') GROUP BY s.id, s.name -upsert1 true 1 +upsert1 1 # Shut down the cluster > ALTER CLUSTER cluster1 SET (REPLICATION FACTOR = 0) @@ -73,13 +72,12 @@ upsert1 true 1 sink1 1 1 true true > SELECT s.name, - SUM(u.updates_committed) > 0, SUM(u.messages_received) FROM mz_sources s JOIN mz_internal.mz_source_statistics_raw u ON s.id = u.id WHERE s.name IN ('upsert1') GROUP BY s.id, s.name -upsert1 true 1 +upsert1 1 # Ingest some more data, and ensure counters are maintained @@ -97,10 +95,9 @@ two:three sink1 2 2 true true > SELECT s.name, - SUM(u.updates_committed) > 0, SUM(u.messages_received) FROM mz_sources s JOIN mz_internal.mz_source_statistics_raw u ON s.id = u.id WHERE s.name IN ('upsert1') GROUP BY s.id, s.name -upsert1 true 2 +upsert1 2