huskies: merge 997
This commit is contained in:
@@ -231,24 +231,8 @@ fn snapshot_generation_includes_manifest() {
|
||||
crate::crdt_state::init_for_test();
|
||||
|
||||
// Write some items to populate ALL_OPS.
|
||||
crate::crdt_state::write_item_str(
|
||||
"636_test_a",
|
||||
"1_backlog",
|
||||
Some("Test A"),
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
);
|
||||
crate::crdt_state::write_item_str(
|
||||
"636_test_b",
|
||||
"2_current",
|
||||
Some("Test B"),
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
);
|
||||
crate::crdt_state::write_item_str("636_test_a", "1_backlog", Some("Test A"), None, None, None);
|
||||
crate::crdt_state::write_item_str("636_test_b", "2_current", Some("Test B"), None, None, None);
|
||||
|
||||
let snapshot = generate_snapshot();
|
||||
assert!(snapshot.is_some());
|
||||
@@ -277,7 +261,6 @@ fn attribution_query_by_story_id() {
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
);
|
||||
|
||||
let snapshot = generate_snapshot().unwrap();
|
||||
@@ -312,7 +295,6 @@ fn compaction_reduces_ops() {
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -348,7 +330,6 @@ fn latest_snapshot_available_after_compaction() {
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
);
|
||||
|
||||
let snapshot = generate_snapshot().unwrap();
|
||||
@@ -618,26 +599,9 @@ fn attribution_preserved_after_compaction() {
|
||||
Some("coder-opus"),
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
);
|
||||
crate::crdt_state::write_item_str(
|
||||
"636_archived_story",
|
||||
"2_current",
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
);
|
||||
crate::crdt_state::write_item_str(
|
||||
"636_archived_story",
|
||||
"6_archived",
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
);
|
||||
crate::crdt_state::write_item_str("636_archived_story", "2_current", None, None, None, None);
|
||||
crate::crdt_state::write_item_str("636_archived_story", "6_archived", None, None, None, None);
|
||||
|
||||
// Generate snapshot.
|
||||
let snapshot = generate_snapshot().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user