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 67beb95 commit 8676d48Copy full SHA for 8676d48
testgres/node.py
@@ -316,7 +316,14 @@ def logs_dir(self):
316
@property
317
def data_dir(self):
318
# NOTE: we can't run initdb without user's args
319
- return os.path.join(self.base_dir, DATA_DIR)
+ if hasattr(self, '_data_dir'):
320
+ return self._data_dir
321
+ else:
322
+ return os.path.join(self.base_dir, DATA_DIR)
323
+
324
+ @data_dir.setter
325
+ def data_dir(self, value):
326
+ self._data_dir = value
327
328
329
def utils_log_file(self):
0 commit comments