WIP: change over background executor test helpers
This commit is contained in:
parent
123439adc2
commit
d66ed4310f
4 changed files with 3 additions and 25 deletions
|
@ -222,11 +222,6 @@ impl BackgroundExecutor {
|
|||
self.dispatcher.as_test().unwrap().allow_parking();
|
||||
}
|
||||
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
pub fn record_backtrace(&self) {
|
||||
self.dispatcher.as_test().unwrap().record_backtrace();
|
||||
}
|
||||
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
pub fn rng(&self) -> StdRng {
|
||||
self.dispatcher.as_test().unwrap().rng()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue