mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-09-28 04:02:19 +02:00
test: run ephemeral dir tests sequentially
This commit is contained in:
Vendored
+5
@@ -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",
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user