[ 
https://issues.apache.org/jira/browse/NIFI-11031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Burgess reassigned NIFI-11031:
-----------------------------------

    Assignee: Matt Burgess

> Intermittent Failures in TestGenerateRecord
> -------------------------------------------
>
>                 Key: NIFI-11031
>                 URL: https://issues.apache.org/jira/browse/NIFI-11031
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: David Handermann
>            Assignee: Matt Burgess
>            Priority: Major
>
> The {{TestGenerateRecord}} fails intermittently in automated builds with the 
> following error:
> {noformat}
> Error:  
> org.apache.nifi.processors.standard.TestGenerateRecord.testGenerateNullableFieldsZeroNullPercentageSchemaText
>   Time elapsed: 1.035 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
>       at 
> org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
>       at 
> org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
>       at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
>       at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
>       at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
>       at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:180)
>       at 
> org.apache.nifi.processors.standard.TestGenerateRecord.testGenerateNullableFieldsZeroNullPercentageSchemaText(TestGenerateRecord.java:237)
> {noformat}
> The problem appears to be related to the supporting Faker service returning 
> {{null}} when the code is not expecting any {{null}} values according to the 
> {{Null Percentage}} property setting.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to