File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
kubernetes-itests/src/test/java/io/fabric8/kubernetes Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public void waitTest() {
9090 await ().atMost (120 , TimeUnit .SECONDS ).until (deploymentReady );
9191 Deployment deploymentOne = client .apps ().deployments ()
9292 .inNamespace (session .getNamespace ()).withName ("deployment-wait" ).get ();
93- assertTrue (Readiness .isDeploymentReady (deploymentOne ));
93+ assertTrue (Readiness .getInstance (). isDeploymentReady (deploymentOne ));
9494 }
9595
9696 @ Test
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ public void evict() throws InterruptedException {
166166 // cant evict because only one left
167167 assertFalse (client .pods ().inNamespace (session .getNamespace ()).withName (pod1 .getMetadata ().getName ()).evict ());
168168 // ensure it really is still up
169- assertTrue (Readiness .isReady (client .pods ().inNamespace (session .getNamespace ()).withName (pod1 .getMetadata ().getName ()).fromServer ().get ()));
169+ assertTrue (Readiness .getInstance (). isReady (client .pods ().inNamespace (session .getNamespace ()).withName (pod1 .getMetadata ().getName ()).fromServer ().get ()));
170170
171171 // create another pod to satisfy PDB
172172 client .pods ().inNamespace (session .getNamespace ()).createOrReplace (pod3 );
You can’t perform that action at this time.
0 commit comments