Fix sanity cases for nginx
- Change the image used for validation Change-Id: I06fe9361b003062c0626a02b9b27f56d8786c7ee Signed-off-by: Thomas Sunil <sunil.thomas@windriver.com>
This commit is contained in:
@@ -50,10 +50,13 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: kuard
|
||||
image: gcr.io/kuar-demo/kuard-amd64:blue
|
||||
image: hashicorp/http-echo
|
||||
imagePullPolicy: Always
|
||||
args:
|
||||
- "-text=Hello World"
|
||||
- "-listen=:5678"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
- containerPort: 5678
|
||||
protocol: TCP
|
||||
---
|
||||
apiVersion: v1
|
||||
@@ -66,7 +69,7 @@ metadata:
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8080
|
||||
targetPort: 5678
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: kuard
|
||||
@@ -5,7 +5,6 @@ from framework.resources.resource_finder import get_stx_resource_path
|
||||
from framework.validation.validation import validate_equals
|
||||
from keywords.cloud_platform.rest.cloud_rest_client import CloudRestClient
|
||||
from keywords.cloud_platform.ssh.lab_connection_keywords import LabConnectionKeywords
|
||||
from keywords.cloud_platform.ssh.lab_info_keywords import LabInfoKeywords
|
||||
from keywords.files.file_keywords import FileKeywords
|
||||
from keywords.files.yaml_keywords import YamlKeywords
|
||||
from keywords.k8s.certificate.kubectl_get_certificate_keywords import KubectlGetCertStatusKeywords
|
||||
@@ -38,7 +37,7 @@ def test_app_using_nginx_controller(request):
|
||||
ssh_connection = LabConnectionKeywords().get_active_controller_ssh()
|
||||
lab_config = ConfigurationManager.get_lab_config()
|
||||
oam_ip = lab_config.get_floating_ip()
|
||||
dns_name = LabInfoKeywords().get_fully_qualified_name().lower()
|
||||
dns_name = ConfigurationManager.get_security_config().get_domain_name()
|
||||
dns_resolution_status = IPAddressKeywords(oam_ip).check_dnsname_resolution(dns_name=dns_name)
|
||||
validate_equals(dns_resolution_status, True, "Verify the dns name resolution")
|
||||
stepca_url = ConfigurationManager.get_security_config().get_stepca_server_url()
|
||||
|
||||
Reference in New Issue
Block a user