You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2022/08/29 12:07:00 UTC

[jira] [Updated] (MINIFICPP-1931) ResourceQueueTests fails occasionally

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

Ferenc Gerlits updated MINIFICPP-1931:
--------------------------------------
    Description: 
As of 2022-08-29, on the main branch,
{noformat}
ctest --repeat-until-fail 100 -R ResourceQueueTests
{noformat}
fails every time I run it, sometimes on the 5th run, sometimes after more than 30.

This was the failing test case in all 3 times I checked:
{noformat}
-------------------------------------------------------------------------------
maximum_number_of_creatable_resources
  Maximum 2 resources
-------------------------------------------------------------------------------
/home/fgerlits/src/minifi2/libminifi/test/unit/ResourceQueueTests.cpp:43
...............................................................................

/home/fgerlits/src/minifi2/libminifi/test/unit/ResourceQueueTests.cpp:54: FAILED:
  CHECK( resources_created.size() <= 2 )
with expansion:
  3 <= 2
{noformat}


  was:
As of 2022-08-29, on the main branch,
{noformat}
ctest --repeat-until-fail 100 -R ResourceQueueTests
{noformat}
fails every time I run it, sometimes on the 5th run, sometimes after more than 30.


> ResourceQueueTests fails occasionally
> -------------------------------------
>
>                 Key: MINIFICPP-1931
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1931
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Ferenc Gerlits
>            Priority: Minor
>
> As of 2022-08-29, on the main branch,
> {noformat}
> ctest --repeat-until-fail 100 -R ResourceQueueTests
> {noformat}
> fails every time I run it, sometimes on the 5th run, sometimes after more than 30.
> This was the failing test case in all 3 times I checked:
> {noformat}
> -------------------------------------------------------------------------------
> maximum_number_of_creatable_resources
>   Maximum 2 resources
> -------------------------------------------------------------------------------
> /home/fgerlits/src/minifi2/libminifi/test/unit/ResourceQueueTests.cpp:43
> ...............................................................................
> /home/fgerlits/src/minifi2/libminifi/test/unit/ResourceQueueTests.cpp:54: FAILED:
>   CHECK( resources_created.size() <= 2 )
> with expansion:
>   3 <= 2
> {noformat}



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