mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
Currently when a connection closes a new sniff round begins. The testCollectNodes test closes four transports before triggering the method to collect the remote nodes. This leads to a race where there are a number of reasons the collect nodes call might fail. This commit fixes that issue by changing the test assertion to include a potential failure condition. Fixes #55292.