Skip to content

Commit 2c77856

Browse files
authored
Update endpoint tests (#307)
Signed-off-by: Maysun J Faisal <[email protected]>
1 parent 48910a0 commit 2c77856

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

test/v200/devfiles/components/containerEndpointLongName.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
container:
33
image: testImage
44
endpoints:
5-
- name: endpoint-name-more-than-15-characters
5+
- name: this-invalid-container-endpoint-name-is-more-than-63-characters-long
66
targetPort: 1234

test/v200/devfiles/components/kubernetesEndpointLongName.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
kubernetes:
33
inlined: testInlined
44
endpoints:
5-
- name: endpoint-name-more-than-15-characters
5+
- name: this-invalid-kubernetes-endpoint-name-is-more-than-63-characters-long
66
targetPort: 1234

test/v200/devfiles/components/openshiftEndpointLongName.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
openshift:
33
inlined: testInlined
44
endpoints:
5-
- name: endpoint-name-more-than-15-characters
5+
- name: this-invalid-openshift-endpoint-name-is-more-than-63-characters-long
66
targetPort: 1234

test/v200/json/component-parent-tests.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
},
7070
{
7171
"FileName" : "componentContainerEndpointLongName.yaml",
72-
"ExpectOutcome" : "length must be <= 15",
72+
"ExpectOutcome" : "length must be <= 63",
7373
"Files": ["devfiles/components/componentStart.yaml",
7474
"devfiles/components/containerEndpointLongName.yaml"]
7575
},
@@ -142,7 +142,7 @@
142142
},
143143
{
144144
"FileName" : "componentKubernetesEndpointLongName.yaml",
145-
"ExpectOutcome" : "length must be <= 15",
145+
"ExpectOutcome" : "length must be <= 63",
146146
"Files": ["devfiles/components/componentStart.yaml",
147147
"devfiles/components/kubernetesEndpointLongName.yaml"]
148148
},
@@ -215,7 +215,7 @@
215215
},
216216
{
217217
"FileName" : "componentOpenshiftEndpointLongName.yaml",
218-
"ExpectOutcome" : "length must be <= 15",
218+
"ExpectOutcome" : "length must be <= 63",
219219
"Files": ["devfiles/components/componentStart.yaml",
220220
"devfiles/components/openshiftEndpointLongName.yaml"]
221221
},

test/v200/json/component-tests.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
},
7676
{
7777
"FileName" : "componentContainerEndpointLongName.yaml",
78-
"ExpectOutcome" : "length must be <= 15",
78+
"ExpectOutcome" : "length must be <= 63",
7979
"Files": ["devfiles/components/componentStart.yaml",
8080
"devfiles/components/containerEndpointLongName.yaml"]
8181
},
@@ -166,7 +166,7 @@
166166
},
167167
{
168168
"FileName" : "componentKubernetesEndpointLongName.yaml",
169-
"ExpectOutcome" : "length must be <= 15",
169+
"ExpectOutcome" : "length must be <= 63",
170170
"Files": ["devfiles/components/componentStart.yaml",
171171
"devfiles/components/kubernetesEndpointLongName.yaml"]
172172
},
@@ -245,7 +245,7 @@
245245
},
246246
{
247247
"FileName" : "componentOpenshiftEndpointLongName.yaml",
248-
"ExpectOutcome" : "length must be <= 15",
248+
"ExpectOutcome" : "length must be <= 63",
249249
"Files": ["devfiles/components/componentStart.yaml",
250250
"devfiles/components/openshiftEndpointLongName.yaml"]
251251
},

0 commit comments

Comments
 (0)