From 8b0047e2773586baba37cc2e45c4a3b73c41c50a Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 12 Dec 2023 20:18:28 +0200 Subject: docs(tvix/castore/directorysvc): update comment This comment didn't make a lot of sense before. Change-Id: Ie057a133ca4b1a099ed3c885e32316b0d87c5eb0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10339 Tested-by: BuildkiteCI Autosubmit: flokli Reviewed-by: Connor Brewster --- tvix/castore/src/directoryservice/grpc.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tvix/castore/src/directoryservice/grpc.rs b/tvix/castore/src/directoryservice/grpc.rs index eceaf5ed1f..3f3796951f 100644 --- a/tvix/castore/src/directoryservice/grpc.rs +++ b/tvix/castore/src/directoryservice/grpc.rs @@ -393,9 +393,9 @@ mod tests { } // Now we do the same test as before, send B, then A, but wait - // sufficiently enough for the server to have s - // to close us the stream, - // and then assert that uploading anything else via the handle will fail. + // a long long time so we already received the error from the server + // (causing the internal stream to be closed). + // Uploading anything else subsequently should then fail. { let mut handle = directory_service.put_multiple_start(); handle.put(DIRECTORY_B.clone()).await.expect("must succeed"); -- cgit 1.4.1