Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
- name: Library and model tests
run: timeout 10m cargo test --locked --lib

# The binary's own tests were never built here, so a test in src/main.rs
# could stop COMPILING and this workflow stayed green. One had: the
# `sync ls --json` schema test missed the `sweep` field added in #61.
- name: Binary tests
run: timeout 5m cargo test --locked --bins

- name: Deterministic fake two-machine folder sync
run: >-
timeout 5m cargo test --locked --lib
Expand Down
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,7 @@ mod sync_ls_tests {
full_scans: 17,
inbound_noop_transactions: 11,
inbound_guarded_transactions: 3,
sweep: "disabled".to_string(),
}
}

Expand All @@ -1170,7 +1171,8 @@ mod sync_ls_tests {
"mismatched": 0,
"full_scans": 17,
"inbound_noop_transactions": 11,
"inbound_guarded_transactions": 3
"inbound_guarded_transactions": 3,
"sweep": "disabled"
})
);
}
Expand Down
Loading