diff --git a/pkg/cmd/roachtest/tests/disagg_rebalance.go b/pkg/cmd/roachtest/tests/disagg_rebalance.go index f0cfe8855707..ecdd199c8826 100644 --- a/pkg/cmd/roachtest/tests/disagg_rebalance.go +++ b/pkg/cmd/roachtest/tests/disagg_rebalance.go @@ -114,7 +114,7 @@ func registerDisaggRebalance(r registry.Registry) { } var bytesSnapshotted int64 if err := db.QueryRow( - "SELECT metrics['range.snapshots.rcvd-bytes'] FROM crdb_internal.kv_store_status WHERE node_id = $1 LIMIT 1", + "SELECT metrics['range.snapshots.rcvd-bytes']::INT FROM crdb_internal.kv_store_status WHERE node_id = $1 LIMIT 1", 4, ).Scan(&bytesSnapshotted); err != nil { t.Fatal(err)