Skip to content

Commit aac4dd5

Browse files
committed
ch: Update test cleanup
Currently the persistent state directory is not used but future tests will be adding persistent state changes so cleanup the directory between tests.
1 parent b5dcd5a commit aac4dd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ch_integration_tests/tests/integration.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ mod tests {
212212
}
213213

214214
fn cleanup_libvirt_state() {
215+
let _ = std::fs::remove_dir_all("/etc/libvirt/ch");
215216
let _ = std::fs::remove_dir_all("/var/lib/libvirt");
216217
let _ = std::fs::remove_file("/var/run/libvirtd.pid");
217218
let _ = std::fs::remove_dir_all("/var/run/libvirt");

0 commit comments

Comments
 (0)