-
Bug Report
-
Resolution: Won't Do
-
L3 - Default
-
None
-
None
-
3
-
Not defined
Problem:
This is an issue originally observed in OPT-5487. OPT-5487 was "fixed" by adjusting the default alert interval in IT to avoid the alert being triggered as that seemed to somehow interact with the deletion. The underlying issue still persists and should be looked into.
Steps to reproduce:
Cannot reliably be reproduced in UI but rather with any IT that focusses on alert deletion, for example CollectionRestServiceAlertIT.deleteColletionAlsoDeletesContainintAlerts.
The following adjustments appear to trigger the issue more frequently which makes it easier to debug locally: minimise the alert interval set in AlertClient.createSimpleAlert (eg to 1ms), additionally you can remove the immediate refresh policy in the alert status update to further increase failures (though a short interval is already enough to have it fail around 2-5 out of 20 runs).
Once those adjustments have been made, run the selected test a bunch of times.
Actual result :
Some of the delete tasks are marked as "completed" without having deleted all alerts they're supposed to delete. This means our waitUntilTaskIsFinished returns and we continue without the alert being deleted.
Expected result:
All items that are supposed to be deleted are deleted.
Note some extra logging/debugging has already been added on this branch.
This is the controller panel for Smart Panels app
- is related to
-
OPT-5487 Resolve Java compatibility test instability
- Done