From 2e95ec19137a41b2aa9583fd87adaf49cd93b584 Mon Sep 17 00:00:00 2001 From: Maysun J Faisal Date: Thu, 14 Jan 2021 14:53:50 -0500 Subject: [PATCH] Update endpoint tests Signed-off-by: Maysun J Faisal --- .../v200/devfiles/components/containerEndpointLongName.yaml | 2 +- .../devfiles/components/kubernetesEndpointLongName.yaml | 2 +- .../v200/devfiles/components/openshiftEndpointLongName.yaml | 2 +- test/v200/json/component-parent-tests.json | 6 +++--- test/v200/json/component-tests.json | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/v200/devfiles/components/containerEndpointLongName.yaml b/test/v200/devfiles/components/containerEndpointLongName.yaml index 7d4a22ea2..2f7958f5b 100644 --- a/test/v200/devfiles/components/containerEndpointLongName.yaml +++ b/test/v200/devfiles/components/containerEndpointLongName.yaml @@ -2,5 +2,5 @@ container: image: testImage endpoints: - - name: endpoint-name-more-than-15-characters + - name: this-invalid-container-endpoint-name-is-more-than-63-characters-long targetPort: 1234 diff --git a/test/v200/devfiles/components/kubernetesEndpointLongName.yaml b/test/v200/devfiles/components/kubernetesEndpointLongName.yaml index c4d56be22..fdd0308be 100644 --- a/test/v200/devfiles/components/kubernetesEndpointLongName.yaml +++ b/test/v200/devfiles/components/kubernetesEndpointLongName.yaml @@ -2,5 +2,5 @@ kubernetes: inlined: testInlined endpoints: - - name: endpoint-name-more-than-15-characters + - name: this-invalid-kubernetes-endpoint-name-is-more-than-63-characters-long targetPort: 1234 diff --git a/test/v200/devfiles/components/openshiftEndpointLongName.yaml b/test/v200/devfiles/components/openshiftEndpointLongName.yaml index 45c6b572b..aafa69492 100644 --- a/test/v200/devfiles/components/openshiftEndpointLongName.yaml +++ b/test/v200/devfiles/components/openshiftEndpointLongName.yaml @@ -2,5 +2,5 @@ openshift: inlined: testInlined endpoints: - - name: endpoint-name-more-than-15-characters + - name: this-invalid-openshift-endpoint-name-is-more-than-63-characters-long targetPort: 1234 diff --git a/test/v200/json/component-parent-tests.json b/test/v200/json/component-parent-tests.json index 4d924904e..3c58e2ac1 100644 --- a/test/v200/json/component-parent-tests.json +++ b/test/v200/json/component-parent-tests.json @@ -69,7 +69,7 @@ }, { "FileName" : "componentContainerEndpointLongName.yaml", - "ExpectOutcome" : "length must be <= 15", + "ExpectOutcome" : "length must be <= 63", "Files": ["devfiles/components/componentStart.yaml", "devfiles/components/containerEndpointLongName.yaml"] }, @@ -142,7 +142,7 @@ }, { "FileName" : "componentKubernetesEndpointLongName.yaml", - "ExpectOutcome" : "length must be <= 15", + "ExpectOutcome" : "length must be <= 63", "Files": ["devfiles/components/componentStart.yaml", "devfiles/components/kubernetesEndpointLongName.yaml"] }, @@ -215,7 +215,7 @@ }, { "FileName" : "componentOpenshiftEndpointLongName.yaml", - "ExpectOutcome" : "length must be <= 15", + "ExpectOutcome" : "length must be <= 63", "Files": ["devfiles/components/componentStart.yaml", "devfiles/components/openshiftEndpointLongName.yaml"] }, diff --git a/test/v200/json/component-tests.json b/test/v200/json/component-tests.json index 120498798..53404d78b 100644 --- a/test/v200/json/component-tests.json +++ b/test/v200/json/component-tests.json @@ -75,7 +75,7 @@ }, { "FileName" : "componentContainerEndpointLongName.yaml", - "ExpectOutcome" : "length must be <= 15", + "ExpectOutcome" : "length must be <= 63", "Files": ["devfiles/components/componentStart.yaml", "devfiles/components/containerEndpointLongName.yaml"] }, @@ -166,7 +166,7 @@ }, { "FileName" : "componentKubernetesEndpointLongName.yaml", - "ExpectOutcome" : "length must be <= 15", + "ExpectOutcome" : "length must be <= 63", "Files": ["devfiles/components/componentStart.yaml", "devfiles/components/kubernetesEndpointLongName.yaml"] }, @@ -245,7 +245,7 @@ }, { "FileName" : "componentOpenshiftEndpointLongName.yaml", - "ExpectOutcome" : "length must be <= 15", + "ExpectOutcome" : "length must be <= 63", "Files": ["devfiles/components/componentStart.yaml", "devfiles/components/openshiftEndpointLongName.yaml"] },