You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/01/07 03:02:00 UTC
[jira] [Commented] (NIFI-11031) Intermittent Failures in TestGenerateRecord
[ https://issues.apache.org/jira/browse/NIFI-11031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17655632#comment-17655632 ]
ASF subversion and git services commented on NIFI-11031:
--------------------------------------------------------
Commit 4f77a17d19c3e6ab5f85d0c836dbbca6cc703711 in nifi's branch refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4f77a17d19 ]
NIFI-11031: Fix logic error in GenerateRecord for nullPercentage
This closes #6830
Signed-off-by: David Handermann <ex...@apache.org>
> 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
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)