You've already forked pg_probackup
mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-04-26 21:22:39 +02:00
20 lines
559 B
Python
20 lines
559 B
Python
from .helpers.ptrack_helpers import ProbackupTest
|
|
|
|
|
|
class RemoteTest(ProbackupTest):
|
|
|
|
# @unittest.skip("skip")
|
|
# @unittest.expectedFailure
|
|
def test_remote_sanity(self):
|
|
node = self.pg_node.make_simple('node',
|
|
set_replication=True)
|
|
|
|
backup_dir = self.backup_dir
|
|
self.pb.init()
|
|
self.pb.add_instance('node', node)
|
|
node.slow_start()
|
|
|
|
output = self.pb.backup_node('node', node,
|
|
options=['--stream'], no_remote=True, return_id=False)
|
|
self.assertIn('remote: false', output)
|