ctubbsii commented on code in PR #77:
URL: 
https://github.com/apache/accumulo-classloaders/pull/77#discussion_r2835912451


##########
modules/caching-classloader/src/test/java/org/apache/accumulo/classloader/ccl/manifest/ManifestTest.java:
##########
@@ -55,8 +60,13 @@ private static String mockJson(boolean withComment, boolean 
withMonitorInterval,
         if (i > 0) {
           json.append(COMMA);
         }
-        json.append("{'location': 'file:/home/user/ClassLoaderTestA/" + i + 
".jar'").append(COMMA);
-        json.append("'algorithm': 'MOCK',").append("'checksum': '" + i + "'}");
+        var n = i;
+        if (withResourceCount == 10) {

Review Comment:
   The special value was the simplest implementation I could think of that 
required the least amount of new test code, but I tried to add a comment in 
both places where the value is used.



-- 
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]

Reply via email to