Skip to content

Commit 06a05b1

Browse files
committed
test(eventbus): add name assertions for nats and jetstream EventBus
1 parent 79e6ccb commit 06a05b1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

charts/gitops-runtime/tests/eventbus_test.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ tests:
1414
path: spec.nats
1515
- notExists:
1616
path: spec.jetstream
17+
- equal:
18+
path: metadata.name
19+
value: codefresh-eventbus
1720

1821
- it: Should create an EventBus with the correct type (jetstream)
1922
template: eventbus/codefresh-eventbus.yaml
@@ -26,3 +29,6 @@ tests:
2629
path: spec.jetstream
2730
- notExists:
2831
path: spec.nats
32+
- equal:
33+
path: metadata.name
34+
value: codefresh-eventbus-jetstream

0 commit comments

Comments
 (0)