fix: flaky tests 5 (#8282)

This commit is contained in:
jif-oai
2025-12-18 21:08:43 +00:00
committed by GitHub
parent 6395430220
commit 87abf06e78

View File

@@ -22,6 +22,8 @@ use pretty_assertions::assert_eq;
use serde_json::json;
use std::path::PathBuf;
use tokio::fs;
use tokio::time::Duration;
use tokio::time::sleep;
#[derive(Debug)]
struct SnapshotRun {
@@ -333,6 +335,7 @@ async fn shell_snapshot_deleted_after_shutdown_with_skills() -> Result<()> {
drop(codex);
drop(harness);
sleep(Duration::from_millis(150)).await;
assert_eq!(
snapshot_path.exists(),