We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b896758 commit b104afdCopy full SHA for b104afd
src/test/java/com/github/dockerjava/cmd/swarm/UpdateSwarmNodeIT.java
@@ -27,7 +27,7 @@ public void testUpdateSwarmNode() {
27
docker1.updateSwarmNodeCmd().withSwarmNodeId(node.getId()).withVersion(node.getVersion().getIndex())
28
.withSwarmNodeSpec(nodeSpec).exec();
29
nodes = docker1.listSwarmNodesCmd().exec();
30
- assertThat(1, is(nodes.size()));
31
- assertThat(SwarmNodeAvailability.PAUSE, is(nodes.get(0).getSpec().getAvailability()));
+ assertThat(nodes.size(), is(1));
+ assertThat(nodes.get(0).getSpec().getAvailability(), is(SwarmNodeAvailability.PAUSE));
32
}
33
0 commit comments