Skip to content

Commit

Permalink
Several assertion added to clusterShards test
Browse files Browse the repository at this point in the history
  • Loading branch information
Khokhlov Aleksey committed Nov 14, 2023
1 parent 42f82fa commit 7cb5439
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

import java.util.List;
Expand Down Expand Up @@ -221,8 +222,11 @@ public void clusterShards() {
assertNotNull(nodeInfo.getId());
assertNotNull(nodeInfo.getEndpoint());
assertNotNull(nodeInfo.getIp());
assertNull(nodeInfo.getHostname());
assertNotNull(nodeInfo.getPort());
assertNull(nodeInfo.getTlsPort());
assertNotNull(nodeInfo.getRole());
assertNotNull(nodeInfo.getReplicationOffset());
assertNotNull(nodeInfo.getHealth());
}
}
Expand Down

0 comments on commit 7cb5439

Please sign in to comment.