mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 00:11:16 +00:00
vhost_rs: Fix compile failure in tests
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
cf1983c70e
commit
b6f6772df4
@ -178,7 +178,7 @@ mod tests {
|
|||||||
backend: Arc<Mutex<S>>,
|
backend: Arc<Mutex<S>>,
|
||||||
) -> (Master, SlaveReqHandler<S>) {
|
) -> (Master, SlaveReqHandler<S>) {
|
||||||
let mut slave_listener = SlaveListener::new(path, true, backend).unwrap();
|
let mut slave_listener = SlaveListener::new(path, true, backend).unwrap();
|
||||||
let master = Master::connect(path).unwrap();
|
let master = Master::connect(path, 1).unwrap();
|
||||||
(master, slave_listener.accept().unwrap().unwrap())
|
(master, slave_listener.accept().unwrap().unwrap())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user