Skip to content

Commit 625226f

Browse files
committed
fix ci
1 parent de1717f commit 625226f

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

test/e2e-v2/cases/go/expected/profile-list-finished.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
{{- if . }}
16+
{{- contains . }}
1717
- id: {{ notEmpty .id }}
1818
serviceid: {{ b64enc "go-service" }}.1
1919
servicename: ""
@@ -23,5 +23,12 @@
2323
mindurationthreshold: 1000
2424
dumpperiod: 500
2525
maxsamplingcount: 3
26-
logs: {{ .logs }}
26+
logs:
27+
{{- contains .logs }}
28+
- id: {{ notEmpty .id }}
29+
instanceid: {{ b64enc "go-service" }}.1_{{ b64enc "go-service" }}
30+
operationtype: EXECUTION_FINISHED
31+
instancename: ""
32+
operationtime: {{ gt .operationtime 0 }}
33+
{{- end }}
2734
{{- end }}

test/e2e-v2/cases/go/expected/profile-list-notified.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
{{- if . }}
16+
{{- contains . }}
1717
- id: {{ notEmpty .id }}
1818
serviceid: {{ b64enc "go-service" }}.1
1919
servicename: ""
@@ -23,5 +23,12 @@
2323
mindurationthreshold: 1000
2424
dumpperiod: 500
2525
maxsamplingcount: 3
26-
logs: {{ .logs }}
26+
logs:
27+
{{- contains .logs }}
28+
- id: {{ notEmpty .id }}
29+
instanceid: {{ b64enc "go-service" }}.1_{{ b64enc "go-service" }}
30+
operationtype: NOTIFIED
31+
instancename: ""
32+
operationtime: {{ gt .operationtime 0 }}
33+
{{- end }}
2734
{{- end }}

0 commit comments

Comments
 (0)