exceptionfactory commented on a change in pull request #5368:
URL: https://github.com/apache/nifi/pull/5368#discussion_r702913747
##########
File path:
nifi-nar-bundles/nifi-provenance-repository-bundle/nifi-persistent-provenance-repository/src/test/java/org/apache/nifi/provenance/ITestPersistentProvenanceRepository.java
##########
@@ -1307,13 +1186,12 @@ public boolean isAuthorized(ProvenanceEventRecord
event, NiFiUser user) {
assertEquals(7, events.size());
final List<Long> eventIds = events.stream().map(event ->
event.getEventId()).sorted().collect(Collectors.toList());
for (int i = 0; i < 7; i++) {
- Assert.assertEquals(i + 3, eventIds.get(i).intValue());
+ assertEquals(i + 3, eventIds.get(i).intValue());
}
}
- @Test(timeout = 10000)
+ @Test
Review comment:
Thanks for pointing that out. The test class had a variety of timeouts
on different methods. As an integration test, the individual methods completed
with a short duration, so I will add a class-level Timeout and revisit other
updated tests.
--
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]