Skip to content

Commit

Permalink
[Issue #313] improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmolk committed Jun 16, 2021
1 parent 1167c8d commit 447f0a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -3918,5 +3918,10 @@ def test_restore_issue_313(self):
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(
repr(e.message), self.cmd))

with open(os.path.join(node.logs_dir, 'postgresql.log'), 'r') as f:
self.assertIn(
"PANIC: could not read from control file: read 0 bytes",
f.read())

# Clean after yourself
self.del_test_dir(module_name, fname)

0 comments on commit 447f0a6

Please sign in to comment.