diff --git a/proxmox/src/test/io.rs b/proxmox/src/test/io.rs index 919aac12..84aaf318 100644 --- a/proxmox/src/test/io.rs +++ b/proxmox/src/test/io.rs @@ -69,7 +69,8 @@ impl AsyncWrite for AsyncBlockingWriter { } fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll> { - Poll::Ready(Ok(())) + let this = Pin::get_mut(self); + Poll::Ready(this.inner.flush()) } fn poll_shutdown(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll> {