NIFI-56: Made test single-threaded

This commit is contained in:
Mark Payne 2014-12-15 13:09:08 -05:00
parent 9ccbf8be7b
commit 73cc6cbe28
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public class TestScanContent {
Files.write(dictionaryPath, termBytes, StandardOpenOption.CREATE, StandardOpenOption.WRITE); Files.write(dictionaryPath, termBytes, StandardOpenOption.CREATE, StandardOpenOption.WRITE);
final TestRunner runner = TestRunners.newTestRunner(new ScanContent()); final TestRunner runner = TestRunners.newTestRunner(new ScanContent());
runner.setThreadCount(3); runner.setThreadCount(1);
runner.setProperty(ScanContent.DICTIONARY, dictionaryPath.toString()); runner.setProperty(ScanContent.DICTIONARY, dictionaryPath.toString());
runner.setProperty(ScanContent.DICTIONARY_ENCODING, ScanContent.BINARY_ENCODING); runner.setProperty(ScanContent.DICTIONARY_ENCODING, ScanContent.BINARY_ENCODING);