test: run ephemeral dir tests sequentially

This commit is contained in:
zhom
2026-03-24 00:07:50 +04:00
parent 7092f2155b
commit f63650fa5d
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -47,6 +47,7 @@
"desynced", "desynced",
"devedition", "devedition",
"direnv", "direnv",
"diskutil",
"distro", "distro",
"dists", "dists",
"DMABUF", "DMABUF",
@@ -59,6 +60,7 @@
"dtolnay", "dtolnay",
"dyld", "dyld",
"elif", "elif",
"erasevolume",
"errorlevel", "errorlevel",
"esac", "esac",
"esbuild", "esbuild",
@@ -83,6 +85,7 @@
"idlelib", "idlelib",
"idletime", "idletime",
"idna", "idna",
"imdisk",
"infobars", "infobars",
"inkey", "inkey",
"Inno", "Inno",
@@ -132,8 +135,10 @@
"nodecar", "nodecar",
"NODELAY", "NODELAY",
"nodemon", "nodemon",
"nomount",
"norestart", "norestart",
"NSIS", "NSIS",
"ntfs",
"ntlm", "ntlm",
"numpy", "numpy",
"objc", "objc",
+3
View File
@@ -283,6 +283,9 @@ mod tests {
#[test] #[test]
#[serial_test::serial] #[serial_test::serial]
fn test_ephemeral_dir_lifecycle() { fn test_ephemeral_dir_lifecycle() {
// Clear global state to avoid interference from other tests
EPHEMERAL_DIRS.lock().unwrap().clear();
let profile_id = uuid::Uuid::new_v4(); let profile_id = uuid::Uuid::new_v4();
let id_str = profile_id.to_string(); let id_str = profile_id.to_string();