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 8f6b8a4 commit ec7605eCopy full SHA for ec7605e
tests/test_simple.py
@@ -360,6 +360,13 @@ def test_backup_exhaust(self):
360
with self.assertRaises(BackupException):
361
backup.spawn_primary()
362
363
+ def test_backup_wrong_xlog_method(self):
364
+ with get_new_node() as node:
365
+ node.init(allow_streaming=True).start()
366
+
367
+ with self.assertRaises(BackupException, msg='Invalid xlog_method "wrong"'):
368
+ node.backup(xlog_method='wrong')
369
370
def test_replicate(self):
371
with get_new_node() as node:
372
node.init(allow_streaming=True).start()
0 commit comments