Fix tests and ignore expensive test
This commit is contained in:
parent
b15e0319a3
commit
b0c6c082a1
2 changed files with 10 additions and 7 deletions
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
|
|
@ -45,7 +45,7 @@ jobs:
|
||||||
- name: Test backend
|
- name: Test backend
|
||||||
run: |
|
run: |
|
||||||
cd backend
|
cd backend
|
||||||
cargo test --verbose
|
cargo test --verbose -- --include-ignored
|
||||||
cd sync_lib
|
cd sync_lib
|
||||||
wasm-pack test --node
|
wasm-pack test --node
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -358,23 +358,26 @@ mod test {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[ignore = "expensive to run, only run in CI"]
|
||||||
#[test_matrix( [
|
#[test_matrix( [
|
||||||
"pride_and_prejudice.txt",
|
"pride_and_prejudice.txt",
|
||||||
"romeo_and_juliet.txt",
|
"romeo_and_juliet.txt",
|
||||||
"room_with_a_view.txt",
|
"room_with_a_view.txt",
|
||||||
"kun_lu.txt",
|
"kun_lu.txt",
|
||||||
|
"blns.txt"
|
||||||
], [
|
], [
|
||||||
"pride_and_prejudice.txt",
|
"pride_and_prejudice.txt",
|
||||||
"romeo_and_juliet.txt",
|
"romeo_and_juliet.txt",
|
||||||
"room_with_a_view.txt",
|
"room_with_a_view.txt",
|
||||||
"kun_lu.txt"
|
"kun_lu.txt",
|
||||||
|
"blns.txt"
|
||||||
], [
|
], [
|
||||||
"pride_and_prejudice.txt",
|
"pride_and_prejudice.txt",
|
||||||
"romeo_and_juliet.txt",
|
"romeo_and_juliet.txt",
|
||||||
"room_with_a_view.txt",
|
"room_with_a_view.txt",
|
||||||
"kun_lu.txt"
|
"kun_lu.txt",
|
||||||
], [0..10000, 10000..20000], [0..10000, 10000..20000], [0..10000, 10000..20000])]
|
"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(
|
fn test_merge_files_without_panic(
|
||||||
file_name_1: &str,
|
file_name_1: &str,
|
||||||
file_name_2: &str,
|
file_name_2: &str,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue