Skip to content

Commit

Permalink
combine declarative test cases into one test case (#60)
Browse files Browse the repository at this point in the history
* combine tests into one test case

Signed-off-by: Lize Cai <lize.cai@sap.com>
  • Loading branch information
lizzzcai committed Aug 6, 2022
1 parent 4b6d181 commit da4e2ca
Show file tree
Hide file tree
Showing 44 changed files with 133 additions and 1,065 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ jobs:
e2e: "test/sync-http/e2e.yaml"
- name: Sync Cloudevent e2e test
e2e: "test/sync-cloudevent/e2e.yaml"
- name: Declarative Sync HTTP e2e test
e2e: "test/declarative/sync-http/e2e.yaml"
- name: Declarative Sync Cloudevent e2e test
e2e: "test/declarative/sync-cloudevent/e2e.yaml"
- name: Declarative multiple Sync HTTP e2e test
e2e: "test/declarative/sync-http-multiple/e2e.yaml"
- name: Declarative multiple Sync Cloudevent e2e test
e2e: "test/declarative/sync-cloudevent-multiple/e2e.yaml"
- name: Declarative multiple functions with variables e2e test
e2e: "test/declarative/sync-http-variables/e2e.yaml"
steps:
Expand Down
8 changes: 7 additions & 1 deletion plugin/skywalking/test/binding-event/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ setup:
- name: install dapr
command: |
dapr -v || (wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash)
dapr init -k --log-as-json
dapr init -k --runtime-version 1.8.1 --log-as-json --wait --timeout 600
wait:
- namespace: dapr-system
resource: pod
label-selector: app.kubernetes.io/name=dapr
for: condition=Ready

- name: install helm
command: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
Expand Down
8 changes: 7 additions & 1 deletion plugin/skywalking/test/topic-event/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ setup:
- name: install dapr
command: |
dapr -v || (wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash)
dapr init -k --log-as-json
dapr init -k --runtime-version 1.8.1 --log-as-json --wait --timeout 600
wait:
- namespace: dapr-system
resource: pod
label-selector: app.kubernetes.io/name=dapr
for: condition=Ready

- name: install helm
command: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
Expand Down
7 changes: 6 additions & 1 deletion test/bindings/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ setup:
- name: install dapr
command: |
dapr -v || (wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash)
dapr init -k --log-as-json
dapr init -k --runtime-version 1.8.1 --log-as-json --wait --timeout 600
wait:
- namespace: dapr-system
resource: pod
label-selector: app.kubernetes.io/name=dapr
for: condition=Ready

- name: install helm
command: |
Expand Down
2 changes: 1 addition & 1 deletion test/bindings/sender/Dockerfile.bindings.sender
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16-alpine
FROM golang:1.17

ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn,direct
Expand Down
2 changes: 1 addition & 1 deletion test/bindings/target/Dockerfile.bindings.target
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16-alpine
FROM golang:1.17

ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn,direct
Expand Down

This file was deleted.

24 changes: 0 additions & 24 deletions test/declarative/sync-cloudevent-multiple/cloudevent.go

This file was deleted.

48 changes: 0 additions & 48 deletions test/declarative/sync-cloudevent-multiple/e2e.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions test/declarative/sync-cloudevent-multiple/expected.data.yaml

This file was deleted.

85 changes: 0 additions & 85 deletions test/declarative/sync-cloudevent-multiple/main.go

This file was deleted.

62 changes: 0 additions & 62 deletions test/declarative/sync-cloudevent-multiple/manifests.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions test/declarative/sync-cloudevent-multiple/verify.sh

This file was deleted.

12 changes: 0 additions & 12 deletions test/declarative/sync-cloudevent/Dockerfile.sync.cloudevent

This file was deleted.

18 changes: 0 additions & 18 deletions test/declarative/sync-cloudevent/cloudevent.go

This file was deleted.

Loading

0 comments on commit da4e2ca

Please sign in to comment.