Skip to content

Commit da4e2ca

Browse files
authored
combine declarative test cases into one test case (#60)
* combine tests into one test case Signed-off-by: Lize Cai <[email protected]>
1 parent 4b6d181 commit da4e2ca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+133
-1065
lines changed

.github/workflows/main.yml

-8
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@ jobs:
4747
e2e: "test/sync-http/e2e.yaml"
4848
- name: Sync Cloudevent e2e test
4949
e2e: "test/sync-cloudevent/e2e.yaml"
50-
- name: Declarative Sync HTTP e2e test
51-
e2e: "test/declarative/sync-http/e2e.yaml"
52-
- name: Declarative Sync Cloudevent e2e test
53-
e2e: "test/declarative/sync-cloudevent/e2e.yaml"
54-
- name: Declarative multiple Sync HTTP e2e test
55-
e2e: "test/declarative/sync-http-multiple/e2e.yaml"
56-
- name: Declarative multiple Sync Cloudevent e2e test
57-
e2e: "test/declarative/sync-cloudevent-multiple/e2e.yaml"
5850
- name: Declarative multiple functions with variables e2e test
5951
e2e: "test/declarative/sync-http-variables/e2e.yaml"
6052
steps:

plugin/skywalking/test/binding-event/e2e.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ setup:
55
- name: install dapr
66
command: |
77
dapr -v || (wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash)
8-
dapr init -k --log-as-json
8+
dapr init -k --runtime-version 1.8.1 --log-as-json --wait --timeout 600
9+
wait:
10+
- namespace: dapr-system
11+
resource: pod
12+
label-selector: app.kubernetes.io/name=dapr
13+
for: condition=Ready
14+
915
- name: install helm
1016
command: |
1117
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

plugin/skywalking/test/topic-event/e2e.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ setup:
55
- name: install dapr
66
command: |
77
dapr -v || (wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash)
8-
dapr init -k --log-as-json
8+
dapr init -k --runtime-version 1.8.1 --log-as-json --wait --timeout 600
9+
wait:
10+
- namespace: dapr-system
11+
resource: pod
12+
label-selector: app.kubernetes.io/name=dapr
13+
for: condition=Ready
14+
915
- name: install helm
1016
command: |
1117
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

test/bindings/e2e.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ setup:
55
- name: install dapr
66
command: |
77
dapr -v || (wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash)
8-
dapr init -k --log-as-json
8+
dapr init -k --runtime-version 1.8.1 --log-as-json --wait --timeout 600
9+
wait:
10+
- namespace: dapr-system
11+
resource: pod
12+
label-selector: app.kubernetes.io/name=dapr
13+
for: condition=Ready
914

1015
- name: install helm
1116
command: |

test/bindings/sender/Dockerfile.bindings.sender

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.16-alpine
1+
FROM golang:1.17
22

33
ENV GO111MODULE=on
44
ENV GOPROXY=https://goproxy.cn,direct

test/bindings/target/Dockerfile.bindings.target

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.16-alpine
1+
FROM golang:1.17
22

33
ENV GO111MODULE=on
44
ENV GOPROXY=https://goproxy.cn,direct

test/declarative/sync-cloudevent-multiple/Dockerfile.sync.cloudevent

-12
This file was deleted.

test/declarative/sync-cloudevent-multiple/cloudevent.go

-24
This file was deleted.

test/declarative/sync-cloudevent-multiple/e2e.yaml

-48
This file was deleted.

test/declarative/sync-cloudevent-multiple/expected.data.yaml

-2
This file was deleted.

test/declarative/sync-cloudevent-multiple/main.go

-85
This file was deleted.

test/declarative/sync-cloudevent-multiple/manifests.yaml

-62
This file was deleted.

test/declarative/sync-cloudevent-multiple/verify.sh

-17
This file was deleted.

test/declarative/sync-cloudevent/Dockerfile.sync.cloudevent

-12
This file was deleted.

test/declarative/sync-cloudevent/cloudevent.go

-18
This file was deleted.

0 commit comments

Comments
 (0)