We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
If I understand correctly, ProbackupTest::backup_node allows node==None when data_dir is defined (see line 1098).
On the other side, this method always calls node.port (line 1110) and this is supposes that node is valid (not None).
pg_probackup/tests/helpers/ptrack_helpers.py
Lines 1091 to 1112 in a2510f5
I used a debugger to set None in node to "<some string>" in data_dir.
Expression if not node and not data_dir: said OK, but a test was finished with the following error:
if not node and not data_dir:
cmd_list = [ 'backup', '-B', backup_dir, '--instance={0}'.format(instance), # "-D", pgdata, > '-p', '%i' % node.port, '-d', datname ] E AttributeError: 'NoneType' object has no attribute 'port' tests/helpers/ptrack_helpers.py:1110: AttributeError
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
If I understand correctly, ProbackupTest::backup_node allows node==None when data_dir is defined (see line 1098).
On the other side, this method always calls node.port (line 1110) and this is supposes that node is valid (not None).
pg_probackup/tests/helpers/ptrack_helpers.py
Lines 1091 to 1112 in a2510f5
I used a debugger to set None in node to "<some string>" in data_dir.
Expression
if not node and not data_dir:
said OK, but a test was finished with the following error:The text was updated successfully, but these errors were encountered: