Fix regressions in operator testsuite
This commit is contained in:
parent
b82b0000bc
commit
db6621cd21
1 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ public class KeycloakDeploymentE2EIT extends ClusterOperatorTest {
|
||||||
var curlOutput = K8sUtils.inClusterCurl(k8sclient, namespace, "--insecure", "-H", "Host: foo.bar", url);
|
var curlOutput = K8sUtils.inClusterCurl(k8sclient, namespace, "--insecure", "-H", "Host: foo.bar", url);
|
||||||
Log.info("Curl Output: " + curlOutput);
|
Log.info("Curl Output: " + curlOutput);
|
||||||
|
|
||||||
assertTrue(curlOutput.contains("<a href=\"https://example.com/admin/\">"));
|
assertTrue(curlOutput.contains("<a href=\"https://example.com:8443/admin/\">"));
|
||||||
});
|
});
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
savePodLogs();
|
savePodLogs();
|
||||||
|
@ -243,7 +243,7 @@ public class KeycloakDeploymentE2EIT extends ClusterOperatorTest {
|
||||||
var curlOutput = K8sUtils.inClusterCurl(k8sclient, namespace, "--insecure", "-H", "Host: foo.bar", url);
|
var curlOutput = K8sUtils.inClusterCurl(k8sclient, namespace, "--insecure", "-H", "Host: foo.bar", url);
|
||||||
Log.info("Curl Output: " + curlOutput);
|
Log.info("Curl Output: " + curlOutput);
|
||||||
|
|
||||||
assertTrue(curlOutput.contains("<a href=\"https://foo.bar/admin/\">"));
|
assertTrue(curlOutput.contains("<a href=\"https://foo.bar:8443/admin/\">"));
|
||||||
});
|
});
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
savePodLogs();
|
savePodLogs();
|
||||||
|
|
Loading…
Reference in a new issue