Esempio n. 1
0
 def compute_manager_will_automatically_delete_volume_on_restart(self):
     test_config.compute_service.start()
     wait_for_compute_service()
     # When the compute service comes back online, periodic tasks will
     # see the instance and delete it.
     time_out = FLAGS.reddwarf_volume_time_out + 30
     assert_raises(NotFound, self.dbaas.instances.get, self.id)
 def compute_manager_will_automatically_delete_volume_on_restart(self):
     test_config.compute_service.start()
     wait_for_compute_service()
     # When the compute service comes back online, periodic tasks will
     # see the instance and delete it.
     time_out = FLAGS.trove_volume_time_out + 30
     assert_raises(NotFound, self.dbaas.instances.get, self.id)
Esempio n. 3
0
 def tearDown(self):
     """Be nice to other tests and restart the compute service normally."""
     if not test_config.compute_service.is_running:
         test_config.compute_service.start()
         wait_for_compute_service()
 def tearDown(self):
     """Be nice to other tests and restart the compute service normally."""
     if not test_config.compute_service.is_running:
         test_config.compute_service.start()
         wait_for_compute_service()