diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-02-26 08:47:53 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-02-26 08:47:53 +0000 |
| commit | 7170eb3966d4a38878e46353414579804fa987e9 (patch) | |
| tree | 133cc5d907f95cceace65d3456b2552413e3cc66 | |
| parent | 032ee136488bec92b414ea0196d79e45dfd585f9 (diff) | |
| parent | 951aa033999da6c0d421a318d5c7c84a49016408 (diff) | |
| download | nova-7170eb3966d4a38878e46353414579804fa987e9.tar.gz nova-7170eb3966d4a38878e46353414579804fa987e9.tar.xz nova-7170eb3966d4a38878e46353414579804fa987e9.zip | |
Merge "if reset fails, display the command that failed"
| -rw-r--r-- | nova/tests/test_migrations.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/test_migrations.py b/nova/tests/test_migrations.py index 55963a81b..ef25ca726 100644 --- a/nova/tests/test_migrations.py +++ b/nova/tests/test_migrations.py @@ -248,7 +248,8 @@ class BaseMigrationTestCase(test.TestCase): def execute_cmd(cmd=None): status, output = commands.getstatusoutput(cmd) LOG.debug(output) - self.assertEqual(0, status) + self.assertEqual(0, status, + "Failed to run: %s\n%s" % (cmd, output)) for key, engine in self.engines.items(): conn_string = self.test_databases[key] conn_pieces = urlparse.urlparse(conn_string) |
