mirror of https://github.com/apache/nifi.git
Fixed bug in unit tests that were causing test failures
This commit is contained in:
parent
41d9506a2b
commit
3b10a8479e
|
@ -467,6 +467,7 @@ public class TestUpdateRecord {
|
|||
public void testUpdateSimpleArray() throws InitializationException, IOException {
|
||||
final JsonTreeReader jsonReader = new JsonTreeReader();
|
||||
runner.addControllerService("reader", jsonReader);
|
||||
runner.setValidateExpressionUsage(false);
|
||||
|
||||
final String inputSchemaText = new String(Files.readAllBytes(Paths.get("src/test/resources/TestUpdateRecord/schema/multi-arrays.avsc")));
|
||||
final String outputSchemaText = new String(Files.readAllBytes(Paths.get("src/test/resources/TestUpdateRecord/schema/multi-arrays.avsc")));
|
||||
|
@ -557,6 +558,7 @@ public class TestUpdateRecord {
|
|||
public void testUpdateComplexArrays() throws InitializationException, IOException {
|
||||
final JsonTreeReader jsonReader = new JsonTreeReader();
|
||||
runner.addControllerService("reader", jsonReader);
|
||||
runner.setValidateExpressionUsage(false);
|
||||
|
||||
final String inputSchemaText = new String(Files.readAllBytes(Paths.get("src/test/resources/TestUpdateRecord/schema/multi-arrays.avsc")));
|
||||
final String outputSchemaText = new String(Files.readAllBytes(Paths.get("src/test/resources/TestUpdateRecord/schema/multi-arrays.avsc")));
|
||||
|
|
Loading…
Reference in New Issue