mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-06 03:59:14 +00:00
test(ecstore): run checkpoint publication test on large stack (#7134)
This commit is contained in:
@@ -10339,9 +10339,17 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "test-util")]
|
#[cfg(feature = "test-util")]
|
||||||
#[tokio::test]
|
#[test]
|
||||||
#[serial_test::serial(storage_class_env)]
|
#[serial_test::serial(storage_class_env)]
|
||||||
async fn v6_decommission_checkpoint_no_lock_put_rejects_lost_publication_fence() {
|
fn v6_decommission_checkpoint_no_lock_put_rejects_lost_publication_fence() {
|
||||||
|
run_large_stack_async_test(
|
||||||
|
"v6-checkpoint-fence-loss",
|
||||||
|
v6_decommission_checkpoint_no_lock_put_rejects_lost_publication_fence_case,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "test-util")]
|
||||||
|
async fn v6_decommission_checkpoint_no_lock_put_rejects_lost_publication_fence_case() {
|
||||||
let temp_dir = tempfile::tempdir().expect("create v6 checkpoint fence-loss store dir");
|
let temp_dir = tempfile::tempdir().expect("create v6 checkpoint fence-loss store dir");
|
||||||
let (_ctx, store, _shutdown) =
|
let (_ctx, store, _shutdown) =
|
||||||
without_storage_class_env(build_isolated_test_store(temp_dir.path(), "v6-checkpoint-fence-loss", &[4, 4])).await;
|
without_storage_class_env(build_isolated_test_store(temp_dir.path(), "v6-checkpoint-fence-loss", &[4, 4])).await;
|
||||||
|
|||||||
Reference in New Issue
Block a user