Skip to content

Commit

Permalink
[JBWS-4382]:Use a better name to avoid the shadow field
Browse files Browse the repository at this point in the history
  • Loading branch information
jimma committed Sep 8, 2023
1 parent b71d8d9 commit e76c3ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@

public class JBossWSKubernetesTest implements JBossWSServerContainer {
@InjectKubeClient
private KubernetesClient kubeClient;
private KubernetesClient jbossWSKubernetesTestKubeClient;

@BeforeEach
public void checkServerReady() {
waitWFLYReady(this.kubeClient, this.getContainerName(), 60000);
waitWFLYReady(this.jbossWSKubernetesTestKubeClient, this.getContainerName(), 60000);
}
public static boolean waitWFLYReady(KubernetesClient k8sClient, String containerName, long timeout) {
LocalPortForward p = k8sClient.services().withName(containerName).portForward(9990);
Expand Down

0 comments on commit e76c3ca

Please sign in to comment.