mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
TEST: use new nodes assumption in testUpdateSnapshotStatus
Using an assertion is not correct here as the list of new nodes can be empty.
This commit is contained in:
parent
b64bf51000
commit
0edde25f09
@ -233,7 +233,7 @@ public class IndexingIT extends ESRestTestCase {
|
||||
|
||||
public void testUpdateSnapshotStatus() throws Exception {
|
||||
Nodes nodes = buildNodeAndVersions();
|
||||
assertThat(nodes.getNewNodes(), not(empty()));
|
||||
assumeFalse("new nodes is empty", nodes.getNewNodes().isEmpty());
|
||||
logger.info("cluster discovered: {}", nodes.toString());
|
||||
|
||||
// Create the repository before taking the snapshot.
|
||||
|
Loading…
x
Reference in New Issue
Block a user