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
RemoteOperations::exec_command must not raise and Exception when we define expect_error = True
expect_error = True
testgres/testgres/operations/remote_ops.py
Lines 90 to 91 in cf1d227
Test case:
def test_exec_command_failure__expect_error(self): """ Test exec_command for command execution failure. """ cmd = "nonexistent_command" exit_status, result, error = self.operations.exec_command(cmd, verbose=True, wait_exit=True, shell=True, expect_error=True) assert error == b'bash: line 1: nonexistent_command: command not found\n' assert exit_status == 127 assert result == b''
The text was updated successfully, but these errors were encountered:
RemoteOperations::exec_command must not raise an exception when 'expe…
45cfbf7
…ct_error' is True (postgrespro#159) This commit fixes an issue postgrespro#159.
Merge pull request #160 from dmitry-lipetsk/D20241207_001--remote_op-…
1c73113
…expect_error RemoteOperations::exec_command must not raise an exception when 'expect_error' is True (#159)
dmitry-lipetsk
Successfully merging a pull request may close this issue.
RemoteOperations::exec_command must not raise and Exception when we define
expect_error = True
testgres/testgres/operations/remote_ops.py
Lines 90 to 91 in cf1d227
Test case:
The text was updated successfully, but these errors were encountered: