The full-stack framework overrides the database connection string before
every test is started, but after the test it doesn't revert the string
back to what it was originally. Since after the test the database is
deleted, the string is not actually valid once the test finished, and
this conflicts with tests which are ran on the same job (specifically
the retargetable tests - see associated bug). The proposed patch saves
the original connection string and reverts it after the test finishes.
Reviewed: https:/ /review. openstack. org/172129 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e4095758868 f6debdddb5a7cd6 5f8c0a244bee66
Committed: https:/
Submitter: Jenkins
Branch: master
commit e4095758868f6de bdddb5a7cd65f8c 0a244bee66
Author: John Schwarz <email address hidden>
Date: Thu Apr 9 18:41:06 2015 +0300
Revert connection option post full-stack tests
The full-stack framework overrides the database connection string before
every test is started, but after the test it doesn't revert the string
back to what it was originally. Since after the test the database is
deleted, the string is not actually valid once the test finished, and
this conflicts with tests which are ran on the same job (specifically
the retargetable tests - see associated bug). The proposed patch saves
the original connection string and reverts it after the test finishes.
Change-Id: I96c01483009084 cbc2b81588a1283 e84e6bcb4c4
Closes-bug: #1440797