jmark99 commented on a change in pull request #2558:
URL: https://github.com/apache/accumulo/pull/2558#discussion_r824917074
##########
File path:
test/src/main/java/org/apache/accumulo/test/DetectDeadTabletServersIT.java
##########
@@ -56,7 +56,8 @@ protected void configure(MiniAccumuloConfigImpl cfg,
Configuration hadoopCoreSit
public void test() throws Exception {
try (AccumuloClient c =
Accumulo.newClient().from(getClientProperties()).build()) {
log.info("verifying that everything is up");
- Iterators.size(c.createScanner(MetadataTable.NAME,
Authorizations.EMPTY).iterator());
+ var unusedRetVal =
+ Iterators.size(c.createScanner(MetadataTable.NAME,
Authorizations.EMPTY).iterator());
Review comment:
Wrapped calls to Iterators.size with an asset to verify size > 0 in
following classes:
DetectDeadTabletServersIT
GarbageCollectWALIT
ManagerRepairsDualAssignmentIT
MetaGetsReadersIT
MultiTableRecoveryIT
RecoveryCompactionsAreFlushesIT
UnusedWALIT
VerifySerialRecoveryIT
WaitForBalanceIT
GarbageCollectorIT
ReadWriteIT
KerberosReplicationIT
MultiInstanceReplicationIT
ReplicationIT
ShellServerIT
--
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]