We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b61df02 commit 361d408Copy full SHA for 361d408
tests/restore_test.py
@@ -5,6 +5,7 @@
5
from datetime import datetime
6
import sys
7
import time
8
+import shutil
9
10
11
module_name = 'restore'
@@ -840,7 +841,7 @@ def test_restore_with_tablespace_mapping_1(self):
840
841
repr(e.message), self.cmd))
842
843
# 2 - Try to restore to existing tablespace directory
- node.cleanup()
844
+ shutil.rmtree(node.data_dir, ignore_errors=True)
845
try:
846
self.restore_node(backup_dir, 'node', node)
847
# we should die here because exception is what we expect to happen
0 commit comments