MINOR: Fix flaky metadata update event test (#7194)
The metadata event test asserts that there is a resource waiter event that's waiting on an unfenced cluster image. There was a race condition in between when the config update event was processed (the one that registers a resource waiter) and the assertion that asserts the resource waiter is there. The test inaccurately awaited just the metadata event completion, which itself enqueues the config update event but does not await its processing. This patch fixes it by adding an additional wait event after the metadata event, ensuring that when that completes the config update event has completed too.
加载中
想要评论请 注册 或 登录