Fix regressions in operator testsuite

This commit is contained in:
Dominik Guhr 2022-03-11 12:08:41 +01:00 committed by Pedro Igor
parent b82b0000bc
commit db6621cd21

View file

@ -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();