Skip to content

Commit bcdb2a4

Browse files
committedJun 17, 2024
link to #6552
1 parent f8e43f0 commit bcdb2a4

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed
 

‎crates/re_entity_db/tests/clear.rs

+9-3
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,17 @@ fn clears() -> anyhow::Result<()> {
332332
Ok(())
333333
}
334334

335-
// TODO: this cannot work as-is with read-time clears.
336-
#[cfg(TODO)]
337-
/// Test for GC behavior following clear. This functionality is expected by blueprints.
338335
#[test]
339336
fn clear_and_gc() -> anyhow::Result<()> {
337+
use re_data_store::DataStoreStats;
338+
339+
if true {
340+
// TODO(#6552): Keeping this around for now so we don't forget about it, but this cannot work with
341+
// read-time clears.
342+
// We will replace this with a dedicated store API to remove an entity path in its entirety.
343+
return Ok(());
344+
}
345+
340346
re_log::setup_logging();
341347

342348
let mut db = EntityDb::new(StoreId::random(re_log_types::StoreKind::Recording));

0 commit comments

Comments
 (0)