Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

RemoteOperations::exec_command must not raise an exception when 'expect_error' is True (#159)#160

New issue

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

dmitry-lipetsk
Copy link
Collaborator

This PR does two things:

test_local.py contains set of test for LocalOperations - test_exec_command_success - test_exec_command_failure - test_exec_command_failure__expect_errorChanges in TestRemoteOperations: - test_exec_command_failure exptects an exception - new test test_exec_command_failure__expect_error was addedTestRemoteOperations::test_exec_command_failure__expect_error will fail because RemoteOperations::exec_command does not handle the 'expect_error' parameter correctly.
Dmitry Kovalenkoand others added2 commitsDecember 8, 2024 00:12
RunConditions contains the code to check the execution condition of tests.It is used in TestLocalOperations.
@dmitry-lipetsk
Copy link
CollaboratorAuthor

Patch was tested internal test for probackup2 - all is ok.

RemoteOperations is used only in MultihostCatchupTest - this test was passed without errors.

@dmitry-lipetskdmitry-lipetsk merged commit1c73113 intopostgrespro:masterDec 8, 2024
1 check passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@demonolockdemonolockAwaiting requested review from demonolock

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

RemoteOperations::exec_command does not handle 'expect_error' parameter correctly
1 participant
@dmitry-lipetsk

[8]ページ先頭

©2009-2025 Movatter.jp