mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-12 10:08:09 +00:00
remove supervisor-is-done upon test completion (#754)
This commit is contained in:
@ -221,4 +221,10 @@ async fn test_emitted_state_failed_setup() {
|
|||||||
let coordinator: &CoordinatorDouble = agent.coordinator.downcast_ref().unwrap();
|
let coordinator: &CoordinatorDouble = agent.coordinator.downcast_ref().unwrap();
|
||||||
let events = &coordinator.events;
|
let events = &coordinator.events;
|
||||||
assert_eq!(events, &expected_events);
|
assert_eq!(events, &expected_events);
|
||||||
|
|
||||||
|
// TODO: at some point, the underlying tests should be updated to not write
|
||||||
|
// this file in the first place.
|
||||||
|
tokio::fs::remove_file(crate::done::done_path().unwrap())
|
||||||
|
.await
|
||||||
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user