Skip to content

Commit

Permalink
Comment local tests for external sort
Browse files Browse the repository at this point in the history
  • Loading branch information
fxpineau committed Dec 20, 2024
1 parent ec6a074 commit 699f2f6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/nested/sort/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ mod tests {
}*/

// Test only on personal computer
#[test]
/*#[test]
#[cfg(all(target_os = "linux", not(target_arch = "wasm32")))]
fn testok_bigsort_ssd() {
init_logger();
Expand All @@ -1253,13 +1253,13 @@ mod tests {
let depth_file = 11;
let depth_sort = 4;
/*fs::create_dir_all("./local_resources").unwrap();
fs::create_dir_all("./local_resources").unwrap();
create_test_file(depth_file, "./local_resources/test.csv").unwrap();
Command::new("bash")
.arg("-c")
.arg("shuf ./local_resources/test.csv -o ./local_resources/input.csv")
.output()
.expect("failed to execute process");*/
.expect("failed to execute process");
hpx_external_sort_csv_file(
"./local_resources/input11.csv",
"./local_resources/output11.csv",
Expand All @@ -1277,7 +1277,7 @@ mod tests {
false,
)
.unwrap();
/*let out = Command::new("bash")
let out = Command::new("bash")
.arg("-c")
.arg("diff /data/pineau/sandbox/test.csv /data/pineau/sandbox/output.csv")
.output()
Expand All @@ -1288,6 +1288,6 @@ mod tests {
.arg("-c")
.arg("rm -r /data/pineau/sandbox/test.csv /data/pineau/sandbox/output.csv")
.output()
.expect("failed to execute process");*/
}
.expect("failed to execute process");
}*/
}

0 comments on commit 699f2f6

Please sign in to comment.