You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gábor Gyimesi (Jira)" <ji...@apache.org> on 2022/04/21 16:03:00 UTC

[jira] [Reopened] (MINIFICPP-1721) GetFileTests transiently fail

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

Gábor Gyimesi reopened MINIFICPP-1721:
--------------------------------------

Issue seems to appear when running tests with "ctest -j99" command:


{code:java}
/home/ggyimesi/projects/nifi-minifi-cpp-fork/extensions/standard-processors/tests/unit/GetFileTests.cpp:249
.............................................................................../home/ggyimesi/projects/nifi-minifi-cpp-fork/extensions/standard-processors/tests/unit/GetFileTests.cpp:262: FAILED:
  REQUIRE( std::chrono::steady_clock::now() - start_time >= 100ms )
with expansion:
  {?} >= {?}===============================================================================
test cases: 12 | 11 passed | 1 failed
assertions: 55 | 54 passed | 1 failed
 {code}

> GetFileTests transiently fail
> -----------------------------
>
>                 Key: MINIFICPP-1721
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1721
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Gábor Gyimesi
>            Assignee: Gábor Gyimesi
>            Priority: Minor
>         Attachments: GetFileTests-failure-ubuntu2004-clang.log
>
>
> GetFileTests transiently fail in CI environment probably due to a timing issue: 
> {code:java}
> 2022-01-07T15:13:24.6173440Z /home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/extensions/standard-processors/tests/unit/GetFileTests.cpp:262: FAILED:2022-01-07T15:13:24.6174907Z   REQUIRE( utils::timeutils::getTimeMillis() - start_time >= 100 )2022-01-07T15:13:24.6175497Z with expansion:2022-01-07T15:13:24.6175857Z   88 >= 100 {code}
> See more info in the attached logs



--
This message was sent by Atlassian Jira
(v8.20.7#820007)