[Jifty-commit] r2803 - in jifty/trunk: lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Feb 19 00:21:15 EST 2007
Author: alexmv
Date: Mon Feb 19 00:21:14 2007
New Revision: 2803
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Test.pm
Log:
r17321 at zoq-fot-pik: chmrr | 2007-02-19 00:20:54 -0500
* Disconnect PubSub before dropping the database
Modified: jifty/trunk/lib/Jifty/Test.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test.pm (original)
+++ jifty/trunk/lib/Jifty/Test.pm Mon Feb 19 00:21:14 2007
@@ -400,6 +400,11 @@
# Clean up mailbox
Jifty::Test->teardown_mailbox;
+ # Disconnect the PubSub bus, if need be; otherwise we may not
+ # be able to drop the testing database
+ Jifty->bus->disconnect
+ if Jifty->bus;
+
# Remove testing db
if (Jifty->handle) {
Jifty->handle->disconnect();
More information about the Jifty-commit
mailing list