Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Profpatsch committed May 20, 2019
1 parent 9e1155a commit 2b3a744
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/daemon/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ pub fn start_job_with_ping() -> std::io::Result<()> {
.unwrap()
});

// TODO
std::thread::sleep(Duration::from_millis(200));

// The daemon knows how to build stuff
let (mut daemon, build_events_rx) = Daemon::new();

Expand Down Expand Up @@ -75,7 +78,8 @@ pub fn start_job_with_ping() -> std::io::Result<()> {
)),
}?;

drop(tempdir);
daemon_subroutine_handle.join().unwrap();

drop(tempdir);
Ok(())
}

0 comments on commit 2b3a744

Please sign in to comment.