You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix race in FileSettingsServiceIT.testSettingsAppliedOnStart (#134368) (#135196)
This was failing very very rarely due to unfortunate timing conditions.
Cluster state changes are applied to all nodes prior to being published
on the master node itself. However, the cluster state listener was
previously attached to the data node, allowing for a very short time
window where the state update wasn't visible on the master node itself
when checking in `assertClusterStateSaveOK`.
This changes the test to attach the listener to the master node itself
preventing above condition. I was initially worried it might be attached
too late in cases, but I couldn't reproduce any more issues this way.
> According to the dashboard, this started to fail on Monday (13/07). It
definitely does not look like a test failure, so I'm assigning a medium
priority, which we could raise if we discover this is a new bug.
I couldn't find any related commit that might have caused this. Still
wondering why this started failing around that time 🤔
Fixes#131210
(cherry picked from commit a29392c)
# Conflicts:
# muted-tests.yml
0 commit comments