[ https://issues.apache.org/jira/browse/ATLAS-5028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sheetal Shah updated ATLAS-5028: -------------------------------- Description: The test TaskExecutorTest.persistedIsExecuted() makes sure that any tasks saved in the system actually get picked up and executed by the task processor. Basically, following is the logic : # Two tasks are saved (persisted) in the system before any processing begins. # The task executor runs, which is responsible for picking up and executing saved tasks # The test waits (currently for *5* {*}seconds{*}) to give the executor time to do its job # It verifies that both saved tasks have been executed by the executor. The test fails at {{assertEquals(statistics.getTotal(), 2);}} because only one task was executed (in 5 seconds), but the test expected two. was: The test TaskExecutorTest.persistedIsExecuted() makes sure that any tasks saved in the system actually get picked up and executed by the task processor. Basically, following is the logic : # Two tasks are saved (persisted) in the system before any processing begins. # The task executor runs, which is responsible for picking up and executing saved tasks # The test waits (currently for *5* {*}seconds{*}) to give the executor time to do its job # It verifies that both saved tasks have been executed by the executor. The test fails at {{assertEquals(statistics.getTotal(), 2);}} because only one task was executed (in 5 seconds), but the test expected two. > TaskExecutorTest.persistedIsExecuted test fails intermittently > ---------------------------------------------------------------- > > Key: ATLAS-5028 > URL: https://issues.apache.org/jira/browse/ATLAS-5028 > Project: Atlas > Issue Type: Bug > Reporter: Sheetal Shah > Assignee: Sheetal Shah > Priority: Major > > The test TaskExecutorTest.persistedIsExecuted() makes sure that any tasks > saved in the system actually get picked up and executed by the task > processor. Basically, following is the logic : > # Two tasks are saved (persisted) in the system before any processing begins. > # The task executor runs, which is responsible for picking up and executing > saved tasks > # The test waits (currently for *5* {*}seconds{*}) to give the executor time > to do its job > # It verifies that both saved tasks have been executed by the executor. > The test fails at {{assertEquals(statistics.getTotal(), 2);}} because only > one task was executed (in 5 seconds), but the test expected two. -- This message was sent by Atlassian Jira (v8.20.10#820010)