[
https://issues.apache.org/jira/browse/NIFI-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202912#comment-15202912
]
ASF GitHub Bot commented on NIFI-1651:
--------------------------------------
GitHub user trkurc opened a pull request:
https://github.com/apache/nifi/pull/291
NIFI-1651 unit tests work on windows. removed contributor name/package from
data and schema
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/trkurc/nifi NIFI-1651
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/291.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #291
----
commit bfd90e6587a449f23dd1ddc6e2cc36448e59e881
Author: trkurc <[email protected]>
Date: 2016-03-19T18:48:44Z
NIFI-1651 unit tests work on windows. removed contributor name/package from
data and schema
----
> nifi-kite-processors unit tests broken on windows
> -------------------------------------------------
>
> Key: NIFI-1651
> URL: https://issues.apache.org/jira/browse/NIFI-1651
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Environment: windows 10
> Reporter: Tony Kurc
> Assignee: Tony Kurc
> Priority: Blocker
> Fix For: 0.6.0
>
>
> {noformat}
> Failed tests:
> TestInferAvroSchema.inferAvroSchemaFromCSVFile:133 FlowFile content differs
> from input at byte 1 with input having value 10 and FlowFile having value 13
> TestInferAvroSchema.inferAvroSchemaFromHeaderDefinitionOfCSVFile:77
> FlowFile content differs from input at byte 1 with input having value 10 and
> FlowFile having value 13
>
> TestInferAvroSchema.inferAvroSchemaFromHeaderDefinitionOfCSVTabDelimitedFile:194
> FlowFile content differs from input at byte 1 with input having value 10 and
> FlowFile having value 13
> TestInferAvroSchema.inferAvroSchemaFromJSONFile:105 expected:<{[
> "type" : "record",
> "name" : "contact",
> "namespace" : "com.jeremydyer",
> "fields" : [ {
> "name" : "shapes",
> "type" : {
> "type" : "array",
> "items" : {
> "type" : "record",
> "name" : "shapes",
> "namespace" : "",
> "fields" : [ {
> "name" : "shape",
> "type" : "string",
> "doc" : "Type inferred from '\"circle\"'"
> }, {
> "name" : "color",
> "type" : "string",
> "doc" : "Type inferred from '\"red\"'"
> }, {
> "name" : "width",
> "type" : "int",
> "doc" : "Type inferred from '100'"
> }, {
> "name" : "height",
> "type" : "int",
> "doc" : "Type inferred from '100'"
> } ]
> }
> },
> "doc" : "Type inferred from
> '[{\"shape\":\"circle\",\"color\":\"red\",\"width\":100,\"height\":100},{\"shape\":\"square\",\"color\":\"red\",\"width\":100,\"height\":100},{\"shape\":\"sphere\",\"color\":\"red\",\"width\":100,\"height\":100},{\"shape\":\"triangle\",\"color\":\"red\",\"width\":100,\"height\":100},{\"shape\":\"rectangle\",\"color\":\"red\",\"width\":100,\"height\":100}]'"
> ] } ]
> }> but was:<{[
> "type" : "record",
> "name" : "contact",
> "namespace" : "com.jeremydyer",
> "fields" : [ {
> "name" : "shapes",
> "type" : {
> "type" : "array",
> "items" : {
> "type" : "record",
> "name" : "shapes",
> "namespace" : "",
> "fields" : [ {
> "name" : "shape",
> "type" : "string",
> "doc" : "Type inferred from '\"circle\"'"
> }, {
> "name" : "color",
> "type" : "string",
> "doc" : "Type inferred from '\"red\"'"
> }, {
> "name" : "width",
> "type" : "int",
> "doc" : "Type inferred from '100'"
> }, {
> "name" : "height",
> "type" : "int",
> "doc" : "Type inferred from '100'"
> } ]
> }
> },
> "doc" : "Type inferred from
> '[{\"shape\":\"circle\",\"color\":\"red\",\"width\":100,\"height\":100},{\"shape\":\"square\",\"color\":\"red\",\"width\":100,\"height\":100},{\"shape\":\"sphere\",\"color\":\"red\",\"width\":100,\"height\":100},{\"shape\":\"triangle\",\"color\":\"red\",\"width\":100,\"height\":100},{\"shape\":\"rectangle\",\"color\":\"red\",\"width\":100,\"height\":100}]'"
> } ]]
> }>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)