SavtechSolutions commented on a change in pull request #3267: NIFI-5943 support 
conversions from List to Avro ARRAY and from Map to Avro RECORD
URL: https://github.com/apache/nifi/pull/3267#discussion_r253535451
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/nifi-avro-record-utils/src/test/java/org/apache/nifi/avro/TestAvroTypeUtil.java
 ##########
 @@ -450,4 +450,22 @@ public void testBytesToStringConversion() {
         assertTrue(o instanceof String);
         assertEquals("Hello", o);
     }
+
+    @Test
+    public void testListToArrayConversion() {
+        final Charset charset = Charset.forName("UTF_32LE");
 
 Review comment:
   I copied the whole test setup from `testBytesToStringConversion`, not sure 
why that particular encoding was used there. Will change to UTF-8, this 
shouldn't affect anything anyway.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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