Stabilize sol-kubernetes-v2 job

The following test at sol-kubernetes-v2 takes longer.
```
tacker.tests.functional.sol_kubernetes_v2.test_vnflcm_basic
  .VnfLcmKubernetesTest.test_basic_lcms_max [830.095575s] ... ok
```

This occurs because the service takes a long time to delete.
If it takes more longer, the test will fail.

This patch changes the following to stabilize sol-kubernetes-v2 job.
* Set ``service.type`` to ``NodePort`` of service manifest file
  to reduce the time it takes to complete the deletion of resources.

And also change ``service.type`` to ``NodePort`` along with the other
manifest files.

Change-Id: Ib04cbbbf08a4e0b62d9b6d55b58593757d01a569
This commit is contained in:
Ayumu Ueha 2023-02-08 16:01:16 +00:00
parent 46a28fc8a2
commit ffdbefaedf
7 changed files with 10 additions and 10 deletions

View File

@ -14,7 +14,7 @@ spec:
targetPort: 8080
selector:
app: webserver
type: ClusterIP
type: NodePort
---
apiVersion: v1
data:
@ -48,4 +48,4 @@ spec:
valueFrom:
secretKeyRef:
key: param0
name: curry-sc-multiple
name: curry-sc-multiple

View File

@ -96,7 +96,7 @@ Hash: 6c97b1a8fc8d21a6a9e7ab1c383b49d3ec31f79a83de218f5537d18531ddfbd8
Name: Files/kubernetes/replicaset_service_secret.yaml
Content-Type: test-data
Algorithm: SHA-256
Hash: 7d83ba61def65be3203b164b496057e4d062249804df82eba1831111cc4614a0
Hash: 2e0960be98c5c189ee74cd0044b20de737c484c95ef6be5277535ab4138e987c
Name: Files/kubernetes/resource-quota.yaml
Content-Type: test-data

View File

@ -14,7 +14,7 @@ spec:
targetPort: 8080
selector:
app: webserver
type: ClusterIP
type: NodePort
---
apiVersion: v1
data:
@ -53,4 +53,4 @@ spec:
valueFrom:
secretKeyRef:
key: param0
name: curry-sc-multiple
name: curry-sc-multiple

View File

@ -101,7 +101,7 @@ Hash: 766f27b71a25922a95f847a1b490bf80c3a1a00a2574dee058555602e4da0555
Name: Files/kubernetes/replicaset_service_secret.yaml
Content-Type: test-data
Algorithm: SHA-256
Hash: 848537a1bb84053cf179a169d0b05036a79637bc234128908dce6c0d5d2abbdb
Hash: d964122bc33733aaa138c028180385d543a474c1dacba7f3395e096aaeb1d9b4
Name: Files/kubernetes/resource-quota.yaml
Content-Type: test-data

View File

@ -14,7 +14,7 @@ spec:
targetPort: 8080
selector:
app: webserver
type: ClusterIP
type: NodePort
---
apiVersion: v1
data:
@ -48,4 +48,4 @@ spec:
valueFrom:
secretKeyRef:
key: param0
name: curry-sc-multiple
name: curry-sc-multiple

View File

@ -96,7 +96,7 @@ Hash: 6c97b1a8fc8d21a6a9e7ab1c383b49d3ec31f79a83de218f5537d18531ddfbd8
Name: Files/kubernetes/replicaset_service_secret.yaml
Content-Type: test-data
Algorithm: SHA-256
Hash: 7d83ba61def65be3203b164b496057e4d062249804df82eba1831111cc4614a0
Hash: 0b19a45148f284ced24f34f3a387cb7e6358840d333f4027897060ed90283588
Name: Files/kubernetes/resource-quota.yaml
Content-Type: test-data

View File

@ -13,4 +13,4 @@ spec:
targetPort: 8080
selector:
app: webserver
type: ClusterIP
type: NodePort