Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/testdrive/src/action/consistency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,15 @@ async fn check_catalog_state(state: &State) -> Result<(), anyhow::Error> {
storage_metadata: Option<StorageMetadata>,
}

// The comparison below needs the on-disk catalog, which `with_catalog_copy`
// can only open when a catalog config was supplied
// (`--validate-catalog-store`). Without one it returns `None` and the
// check is skipped, so do not fetch and parse the dump (100+ MB) for
// nothing.
if state.materialize.catalog_config.is_none() {
return Ok(());
}

// Dump the in-memory catalog state of the Materialize environment that we're
// connected to.
let memory_catalog = reqwest::get(&format!(
Expand Down
Loading