You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Jeff Storck (JIRA)" <ji...@apache.org> on 2019/08/05 17:23:00 UTC
[jira] [Updated] (NIFI-6529) Fix tests that fail when user.langage
and user.region are not set to "en" and "US" respectively
[ https://issues.apache.org/jira/browse/NIFI-6529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Storck updated NIFI-6529:
------------------------------
Description:
Some tests are failing when {{user.language}} and {{user.region}} are set to values other than {{en}} and {{US}} respectively.
The following test failures were observed:
{code:java}
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.043 s <<< FAILURE! - in org.apache.nifi.processor.TestFormatUtils
[ERROR] testFormatDataSize(org.apache.nifi.processor.TestFormatUtils) Time elapsed: 0.042 s <<< FAILURE!
org.junit.ComparisonFailure: expected:<10[.]4 bytes> but was:<10[,]4 bytes>
at org.apache.nifi.processor.TestFormatUtils.testFormatDataSize(TestFormatUtils.java:91)
{code}
{code:java}
[ERROR] testPutElasticSearchOnTriggerIndex(org.apache.nifi.processors.elasticsearch.TestPutElasticsearchHttpRecord) Time elapsed: 0.195 s <<< FAILURE!
java.lang.AssertionError: org.junit.ComparisonFailure: expected:<6:55 [PM]> but was:<6:55 [午後]>
at org.apache.nifi.processors.elasticsearch.TestPutElasticsearchHttpRecord.testPutElasticSearchOnTriggerIndex(TestPutElasticsearchHttpRecord.java:114)
Caused by: org.junit.ComparisonFailure: expected:<6:55 [PM]> but was:<6:55 [午後]>
at org.apache.nifi.processors.elasticsearch.TestPutElasticsearchHttpRecord.lambda$testPutElasticSearchOnTriggerIndex$0(TestPutElasticsearchHttpRecord.java:76)
{code}
The Travis CI build's configuration currently does not properly run tests with a non-en_US locale. This will be resolved in NIFI-5505.
was:
Some tests are failing when {{user.language}} and {{user.region}} are set to values other than {{en}} and {{US}} respectively.
The following test failures were observed:
|[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.043 s <<< FAILURE! - in org.apache.nifi.processor.TestFormatUtils
[ERROR] testFormatDataSize(org.apache.nifi.processor.TestFormatUtils) Time elapsed: 0.042 s <<< FAILURE!
org.junit.ComparisonFailure: expected:<10[.]4 bytes> but was:<10[,]4 bytes>
at org.apache.nifi.processor.TestFormatUtils.testFormatDataSize(TestFormatUtils.java:91)|
|[ERROR] testPutElasticSearchOnTriggerIndex(org.apache.nifi.processors.elasticsearch.TestPutElasticsearchHttpRecord) Time elapsed: 0.195 s <<< FAILURE!
java.lang.AssertionError: org.junit.ComparisonFailure: expected:<6:55 [PM]> but was:<6:55 [午後]>
at org.apache.nifi.processors.elasticsearch.TestPutElasticsearchHttpRecord.testPutElasticSearchOnTriggerIndex(TestPutElasticsearchHttpRecord.java:114)
Caused by: org.junit.ComparisonFailure: expected:<6:55 [PM]> but was:<6:55 [午後]>
at org.apache.nifi.processors.elasticsearch.TestPutElasticsearchHttpRecord.lambda$testPutElasticSearchOnTriggerIndex$0(TestPutElasticsearchHttpRecord.java:76)|
The Travis CI build's configuration currently does not properly run tests with a non-en_US locale. This will be resolved in NIFI-5505.
> Fix tests that fail when user.langage and user.region are not set to "en" and "US" respectively
> ------------------------------------------------------------------------------------------------
>
> Key: NIFI-6529
> URL: https://issues.apache.org/jira/browse/NIFI-6529
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework, Extensions
> Affects Versions: 1.9.2
> Reporter: Jeff Storck
> Assignee: Jeff Storck
> Priority: Major
>
> Some tests are failing when {{user.language}} and {{user.region}} are set to values other than {{en}} and {{US}} respectively.
> The following test failures were observed:
> {code:java}
> [ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.043 s <<< FAILURE! - in org.apache.nifi.processor.TestFormatUtils
> [ERROR] testFormatDataSize(org.apache.nifi.processor.TestFormatUtils) Time elapsed: 0.042 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<10[.]4 bytes> but was:<10[,]4 bytes>
> at org.apache.nifi.processor.TestFormatUtils.testFormatDataSize(TestFormatUtils.java:91)
> {code}
> {code:java}
> [ERROR] testPutElasticSearchOnTriggerIndex(org.apache.nifi.processors.elasticsearch.TestPutElasticsearchHttpRecord) Time elapsed: 0.195 s <<< FAILURE!
> java.lang.AssertionError: org.junit.ComparisonFailure: expected:<6:55 [PM]> but was:<6:55 [午後]>
> at org.apache.nifi.processors.elasticsearch.TestPutElasticsearchHttpRecord.testPutElasticSearchOnTriggerIndex(TestPutElasticsearchHttpRecord.java:114)
> Caused by: org.junit.ComparisonFailure: expected:<6:55 [PM]> but was:<6:55 [午後]>
> at org.apache.nifi.processors.elasticsearch.TestPutElasticsearchHttpRecord.lambda$testPutElasticSearchOnTriggerIndex$0(TestPutElasticsearchHttpRecord.java:76)
> {code}
>
> The Travis CI build's configuration currently does not properly run tests with a non-en_US locale. This will be resolved in NIFI-5505.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)