NIFI-164: Fixed MockContentRepository that existed in a unit test

This commit is contained in:
Mark Payne 2014-12-12 10:19:20 -05:00
parent 55d4b1c099
commit d57861d8b5
2 changed files with 6 additions and 0 deletions

View File

@ -977,6 +977,10 @@ public class TestStandardProcessSession {
private ConcurrentMap<ContentClaim, AtomicInteger> claimantCounts = new ConcurrentHashMap<>();
@Override
public void shutdown() {
}
public Set<ContentClaim> getExistingClaims() {
final Set<ContentClaim> claims = new HashSet<>();

View File

@ -169,6 +169,8 @@ public class VolatileProvenanceRepository implements ProvenanceEventRepository {
@Override
public void close() throws IOException {
queryExecService.shutdownNow();
scheduledExecService.shutdown();
}
@Override