Increased pexpect timeout

This commit is contained in:
Fergal Moran
2015-10-15 20:26:01 +01:00
parent e5fc34ed47
commit 0e2cdeb426

View File

@@ -23,7 +23,7 @@ def _backup_database():
child.logfile = fout
child.expect("[Pp]assword:")
child.sendline(settings.DATABASE_PASSWORD)
child.expect(pexpect.EOF)
child.expect(pexpect.EOF, timeout=120)
_create_backup_bundle("{0}.tar.gz".format(file_name), 'database', backup_file)