pvillard31 commented on a change in pull request #3610: NIFI-6552 Kudu Put 
Operations
URL: https://github.com/apache/nifi/pull/3610#discussion_r318471676
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-kudu-bundle/nifi-kudu-processors/src/test/java/org/apache/nifi/processors/kudu/TestPutKudu.java
 ##########
 @@ -86,22 +86,26 @@
     public static final String TABLE_SCHEMA = 
"id,stringVal,num32Val,doubleVal";
 
     private TestRunner testRunner;
+
     private MockPutKudu processor;
+
     private MockRecordParser readerFactory;
 
     @Before
-    public void setUp() {
+    public void setUp() throws InitializationException {
         processor = new MockPutKudu();
         testRunner = TestRunners.newTestRunner(processor);
         setUpTestRunner(testRunner);
     }
 
-    private void setUpTestRunner(TestRunner testRunner) {
+    private void setUpTestRunner(TestRunner testRunner) throws 
InitializationException {
         testRunner.setProperty(PutKudu.TABLE_NAME, DEFAULT_TABLE_NAME);
         testRunner.setProperty(PutKudu.KUDU_MASTERS, DEFAULT_MASTERS);
         testRunner.setProperty(PutKudu.SKIP_HEAD_LINE, SKIP_HEAD_LINE);
+        testRunner.setProperty(PutKudu.IGNORE_NULL, "true");
         testRunner.setProperty(PutKudu.RECORD_READER, "mock-reader-factory");
         testRunner.setProperty(PutKudu.INSERT_OPERATION, 
OperationType.INSERT.toString());
+        testRunner.setValidateExpressionUsage(false);
 
 Review comment:
   Is this one really needed?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to