Skip to content

Commit ac8a2e5

Browse files
committed
Adds kuttle and CI regression test for notifications
1 parent aa8325f commit ac8a2e5

4 files changed

Lines changed: 11 additions & 0 deletions

File tree

‎ci/nova-operator-tempest-multinode/control_plane_hook.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
path: /spec/nova/template/apiServiceTemplate/replicas
2525
value: 2
2626
27+
- op: replace
28+
path: /spec/nova/template/notificationsBusInstance
29+
value: rabbitmq
30+
2731
- op: replace
2832
path: /spec/neutron/template/replicas
2933
value: 2

‎test/kuttl/test-suites/default/config-tests/01-assert.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ status:
6262
reason: Ready
6363
status: "True"
6464
type: NovaMetadataReady
65+
- message: Notification message bus created successfully'
66+
reason: Ready
67+
status: "True"
68+
type: NovaNotificationMQReady
6569
- message: Setup complete
6670
reason: Ready
6771
status: "True"

‎test/kuttl/test-suites/default/config-tests/01-deploy-with-default-config-overwrite.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ metadata:
44
name: nova-kuttl
55
spec:
66
secret: osp-secret
7+
notificationsBusInstance: rabbitmq-broadcaster
78
apiServiceTemplate:
89
defaultConfigOverwrite:
910
policy.yaml: |

‎test/kuttl/test-suites/default/deps/infra.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ spec:
1818
replicas: 1
1919
rabbitmq-cell1:
2020
replicas: 1
21+
rabbitmq-broadcaster:
22+
replicas: 1
2123
memcached:
2224
templates:
2325
memcached:

0 commit comments

Comments
 (0)