keith-ratcliffe commented on code in PR #3631:
URL: https://github.com/apache/accumulo/pull/3631#discussion_r1268210983
##########
core/src/test/java/org/apache/accumulo/core/clientImpl/ClientContextTest.java:
##########
@@ -159,10 +159,9 @@ public void testGetBatchWriterConfigNotUsingDefaults() {
.getMemoryAsBytes(ClientProperty.BATCH_WRITER_MEMORY_MAX.getValue(props));
assertEquals(expectedMemory, batchWriterConfig.getMaxMemory());
- assertEquals(Long.MAX_VALUE,
batchWriterConfig.getMaxLatency(MILLISECONDS));
+ assertEquals(40, batchWriterConfig.getMaxLatency(SECONDS));
Review Comment:
Sorry, I may be misunderstanding the question. The TimeUnit arg to
getMaxLatency could be changed to MILLISECONDS, assuming a corresponding change
in _expected_ arg from 40 to 40000. But that wouldn't change the validity of
the assertion, right?
--
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]