We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a337c1d + bc2c19b commit 16562b0Copy full SHA for 16562b0
nova/test.py
@@ -53,6 +53,7 @@
53
from sqlalchemy.dialects import sqlite
54
import testtools
55
56
+from nova.api.openstack import wsgi_app
57
from nova.compute import rpcapi as compute_rpcapi
58
from nova import context
59
from nova.db.sqlalchemy import api as sqlalchemy_api
@@ -284,6 +285,10 @@ def setUp(self):
284
285
286
self.useFixture(nova_fixtures.GenericPoisonFixture())
287
288
+ # make sure that the wsgi app is fully initialized for all testcase
289
+ # instead of only once initialized for test worker
290
+ wsgi_app.init_global_data.reset()
291
+
292
def _setup_cells(self):
293
"""Setup a normal cellsv2 environment.
294
0 commit comments