add drop with timeout (#1934)

This commit is contained in:
Nikolay Volf 2016-08-17 17:53:34 +04:00 committed by Gav Wood
parent 8710b4a3f4
commit e01ba60dd9
1 changed files with 2 additions and 0 deletions

View File

@ -206,5 +206,7 @@ mod tests {
Arc::new(Miner::with_spec(&spec)),
);
assert!(service.is_ok());
drop(service.unwrap());
::std::thread::park_timeout(::std::time::Duration::from_millis(100));
}
}