remove supervisor-is-done upon test completion (#754)

This commit is contained in:
bmc-msft 2021-03-30 19:58:43 -04:00 committed by GitHub
parent 560fa63ac3
commit 522ae4c5d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,4 +221,10 @@ async fn test_emitted_state_failed_setup() {
let coordinator: &CoordinatorDouble = agent.coordinator.downcast_ref().unwrap();
let events = &coordinator.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();
}