Skip to content

Commit 2f1a5ac

Browse files
dmunchion-elgreco
authored andcommitted
fix: run simple_checkpoint tests in serial to avoid race condition
Signed-off-by: Daniel Münch <[email protected]>
1 parent d5d5067 commit 2f1a5ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/core/tests/checkpoint_writer.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ mod simple_checkpoint {
1010
use parquet::file::reader::{FileReader, SerializedFileReader};
1111
use pretty_assertions::assert_eq;
1212
use regex::Regex;
13+
use serial_test::serial;
1314
use std::fs::{self, File};
1415
use std::path::{Path, PathBuf};
1516

1617
#[tokio::test]
18+
#[serial]
1719
async fn simple_checkpoint_test() {
1820
let table_location = "../test/tests/data/checkpoints";
1921
let table_path = PathBuf::from(table_location);
@@ -63,6 +65,7 @@ mod simple_checkpoint {
6365
}
6466

6567
#[tokio::test]
68+
#[serial]
6669
async fn checkpoint_run_length_encoding_test() {
6770
let table_location = "../test/tests/data/checkpoints";
6871
let table_path = PathBuf::from(table_location);

0 commit comments

Comments
 (0)