Skip to content

Commit 447f0a6

Browse files
committed
[Issue #313] improve test coverage
1 parent 1167c8d commit 447f0a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/restore.py

+5
Original file line numberDiff line numberDiff line change
@@ -3918,5 +3918,10 @@ def test_restore_issue_313(self):
39183918
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(
39193919
repr(e.message), self.cmd))
39203920

3921+
with open(os.path.join(node.logs_dir, 'postgresql.log'), 'r') as f:
3922+
self.assertIn(
3923+
"PANIC: could not read from control file: read 0 bytes",
3924+
f.read())
3925+
39213926
# Clean after yourself
39223927
self.del_test_dir(module_name, fname)

0 commit comments

Comments
 (0)