From 73cc6cbe284faab9a91b4816197a105524b1df41 Mon Sep 17 00:00:00 2001 From: Mark Payne Date: Mon, 15 Dec 2014 13:09:08 -0500 Subject: [PATCH] NIFI-56: Made test single-threaded --- .../org/apache/nifi/processors/standard/TestScanContent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nar-bundles/standard-bundle/standard-processors/src/test/java/org/apache/nifi/processors/standard/TestScanContent.java b/nar-bundles/standard-bundle/standard-processors/src/test/java/org/apache/nifi/processors/standard/TestScanContent.java index 499fb3e15e..9079f82101 100644 --- a/nar-bundles/standard-bundle/standard-processors/src/test/java/org/apache/nifi/processors/standard/TestScanContent.java +++ b/nar-bundles/standard-bundle/standard-processors/src/test/java/org/apache/nifi/processors/standard/TestScanContent.java @@ -55,7 +55,7 @@ public class TestScanContent { Files.write(dictionaryPath, termBytes, StandardOpenOption.CREATE, StandardOpenOption.WRITE); final TestRunner runner = TestRunners.newTestRunner(new ScanContent()); - runner.setThreadCount(3); + runner.setThreadCount(1); runner.setProperty(ScanContent.DICTIONARY, dictionaryPath.toString()); runner.setProperty(ScanContent.DICTIONARY_ENCODING, ScanContent.BINARY_ENCODING);