Sheetal Shah created ATLAS-5028:
-----------------------------------
Summary: 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
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)