l.s.l.t.t.PGBouncerLibrarianLayer(DatabaseFunctionalLayer) : class documentation

Part of lp.services.librarianserver.tests.test_db_outage View In Hierarchy

Custom layer for TestLibrarianDBOutage.

We are using a custom layer instead of standard setUp/tearDown to avoid the lengthy Librarian startup time, and to cope with undoing changes made to BaseLayer.config_fixture to allow access to the Librarian we just started up.

Class Method setUp Undocumented
Class Method tearDown Undocumented
Class Method testSetUp Undocumented

Inherited from DatabaseFunctionalLayer:

Class Method testTearDown Undocumented

Inherited from DatabaseLayer (via DatabaseFunctionalLayer):

Class Method force_dirty_database Undocumented
Class Method connect Undocumented
Class Method _dropDb Undocumented

Inherited from BaseLayer (via DatabaseFunctionalLayer, DatabaseLayer):

Class Method make_config Create a temporary config and link it into the layer cleanup.
Class Method check Check that the environment is working as expected.
Class Method flagTestIsolationFailure Handle a breakdown in test isolation.
Class Method getCurrentTestResult Return the TestResult currently in play.
Class Method getCurrentTestCase Return the test currently in play.
Class Method appserver_config Return a config suitable for AppServer tests.
Class Method appserver_root_url Return the correct app server root url for the given facet.

Inherited from BaseLayer (via DatabaseFunctionalLayer, FunctionalLayer):

Class Method make_config Create a temporary config and link it into the layer cleanup.
Class Method check Check that the environment is working as expected.
Class Method flagTestIsolationFailure Handle a breakdown in test isolation.
Class Method getCurrentTestResult Return the TestResult currently in play.
Class Method getCurrentTestCase Return the test currently in play.
Class Method appserver_config Return a config suitable for AppServer tests.
Class Method appserver_root_url Return the correct app server root url for the given facet.
@classmethod
def setUp(cls):
Undocumented
@classmethod
def tearDown(cls):
Undocumented
@classmethod
def testSetUp(cls):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.