yifan-c commented on code in PR #106:
URL: https://github.com/apache/cassandra-sidecar/pull/106#discussion_r1518299246


##########
src/test/java/org/apache/cassandra/sidecar/utils/XXHash32DigestVerifierTest.java:
##########
@@ -52,40 +51,37 @@ class XXHash32DigestVerifierTest
     @TempDir
     static Path tempDir;
     static Path randomFilePath;
+    static RestoreJobUtil restoreJobUtil;
 
     @BeforeAll
     static void setup() throws IOException
     {
         vertx = Vertx.vertx();
 
-        randomFilePath = TestFileUtils.prepareTestFile(tempDir, 
"random-file.txt", 1024);
-    }
+        restoreJobUtil = new RestoreJobUtil(new Lz4XXHash32Provider());
 
-    @Test
-    void failsWhenDigestIsNull()

Review Comment:
   This test is removed, as the test case is imaginary. In prod code, the 
verifiers are created by the static create method, which guarantees the digest 
is non-null. 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to