Skip to content
代码片段 群组 项目
未验证 提交 004cbf9a 编辑于 作者: Stanislav Kozlovski's avatar Stanislav Kozlovski 提交者: GitHub
浏览文件

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.
上级 3e66971f
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册