yifan-c commented on code in PR #185: URL: https://github.com/apache/cassandra-sidecar/pull/185#discussion_r1942002650
########## server/src/test/integration/org/apache/cassandra/sidecar/routes/StreamStatsIntegrationTest.java: ########## @@ -123,11 +123,9 @@ void assertStreamStatsResponseOK(HttpResponse<Buffer> response, AtomicBoolean ha if (streamProgress.totalFilesToReceive() > 0) { hasStats.set(true); - if (streamProgress.totalFilesToReceive() == streamProgress.totalFilesReceived() && - streamProgress.totalFilesReceived() > 0) Review Comment: Talked offline. It is a timing issue. When client making the request, the stream has just finished, cassandra responds with `totalFilesReceived == 0`, which violates the second condition. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org