Fix tests and ignore expensive test

This commit is contained in:
Andras Schmelczer 2025-04-05 13:45:28 +01:00
commit b0c6c082a1
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 10 additions and 7 deletions

View file

@ -45,7 +45,7 @@ jobs:
- name: Test backend
run: |
cd backend
cargo test --verbose
cargo test --verbose -- --include-ignored
cd sync_lib
wasm-pack test --node

View file

@ -358,23 +358,26 @@ mod test {
);
}
#[ignore = "expensive to run, only run in CI"]
#[test_matrix( [
"pride_and_prejudice.txt",
"romeo_and_juliet.txt",
"room_with_a_view.txt",
"kun_lu.txt",
"blns.txt"
], [
"pride_and_prejudice.txt",
"romeo_and_juliet.txt",
"room_with_a_view.txt",
"kun_lu.txt"
"kun_lu.txt",
"blns.txt"
], [
"pride_and_prejudice.txt",
"romeo_and_juliet.txt",
"room_with_a_view.txt",
"kun_lu.txt"
], [0..10000, 10000..20000], [0..10000, 10000..20000], [0..10000, 10000..20000])]
"kun_lu.txt",
"blns.txt"
], [0..10000, 10000..20000, 20000..50000], [0..10000, 10000..20000, 20000..50000], [0..10000, 10000..20000, 20000..50000])]
fn test_merge_files_without_panic(
file_name_1: &str,
file_name_2: &str,