mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
remove ununsed function
This commit is contained in:
parent
e9055f5572
commit
1d04ce611d
@ -863,14 +863,6 @@ mod tests {
|
|||||||
fn next_breakpoint(&self) -> Breakpoint {
|
fn next_breakpoint(&self) -> Breakpoint {
|
||||||
self.test_breakpoint_rcv.recv().unwrap()
|
self.test_breakpoint_rcv.recv().unwrap()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The scheduler will not stop on breakpoints anymore.
|
|
||||||
fn dont_block(self) {
|
|
||||||
std::thread::spawn(move || loop {
|
|
||||||
// unroll and ignore all the state the scheduler is going to send us.
|
|
||||||
self.test_breakpoint_rcv.iter().last();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user