File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
nova/tests/functional/notification_sample_tests Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -816,6 +816,7 @@ def _test_shelve_and_shelve_offload_server(self, server):
816
816
817
817
self .api .post_server_action (server ['id' ], {'unshelve' : None })
818
818
self ._wait_for_state_change (self .api , server , 'ACTIVE' )
819
+ self ._wait_for_notification ('instance.unshelve.end' )
819
820
820
821
def _test_unshelve_server (self , server ):
821
822
# setting the shelved_offload_time to 0 should set the
@@ -833,6 +834,7 @@ def _test_unshelve_server(self, server):
833
834
post = {'unshelve' : None }
834
835
self .api .post_server_action (server ['id' ], post )
835
836
self ._wait_for_state_change (self .admin_api , server , 'ACTIVE' )
837
+ self ._wait_for_notification ('instance.unshelve.end' )
836
838
self .assertEqual (9 , len (fake_notifier .VERSIONED_NOTIFICATIONS ))
837
839
self ._verify_notification (
838
840
'instance-unshelve-start' ,
You can’t perform that action at this time.
0 commit comments