about summary refs log tree commit diff
path: root/tvix/castore/src/directoryservice
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-12T18·18+0200
committerclbot <clbot@tvl.fyi>2023-12-13T21·11+0000
commit8b0047e2773586baba37cc2e45c4a3b73c41c50a (patch)
tree5f1a666464b7d9c0a7ab88695fb58ed3e594d4c4 /tvix/castore/src/directoryservice
parent3a32963b7825de784fa8052244156b50820379af (diff)
docs(tvix/castore/directorysvc): update comment r/7216
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 <flokli@flokli.de>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'tvix/castore/src/directoryservice')
-rw-r--r--tvix/castore/src/directoryservice/grpc.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tvix/castore/src/directoryservice/grpc.rs b/tvix/castore/src/directoryservice/grpc.rs
index eceaf5ed1f3c..3f3796951f75 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");