Page MenuHomePhabricator

D14875.id.diff
No OneTemporary

D14875.id.diff

diff --git a/src/infrastructure/testing/fixture/PhabricatorStorageFixtureScopeGuard.php b/src/infrastructure/testing/fixture/PhabricatorStorageFixtureScopeGuard.php
--- a/src/infrastructure/testing/fixture/PhabricatorStorageFixtureScopeGuard.php
+++ b/src/infrastructure/testing/fixture/PhabricatorStorageFixtureScopeGuard.php
@@ -24,6 +24,11 @@
public function destroy() {
PhabricatorLiskDAO::popStorageNamespace();
+ // NOTE: We need to close all connections before destroying the databases.
+ // If we do not, the "DROP DATABASE ..." statements may hang, waiting for
+ // our connections to close.
+ PhabricatorLiskDAO::closeAllConnections();
+
execx(
'php %s destroy --force --namespace %s',
$this->getStorageBinPath(),

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 25, 6:28 AM (3 d, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8735204
Default Alt Text
D14875.id.diff (766 B)

Event Timeline