-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor SSH tests to not use SSH server in operator tests (#21326)
This required a slight refactor to the SSHOperator (moving `exec_ssh_client_command` "down" in to the Hook) but the SSH _Operator_ tests now just use stubbing, and the only place that connects to a real SSH server is the one test of `test_exec_ssh_client_command` in SSHHook. This is both better structured, and hopefully produces less (or ideally no) random failures in our tests
- Loading branch information
Showing
4 changed files
with
175 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.