Integration tests and fixes for rsync/scp transfer actions.
- Rearrange things so ssh_key can be alternatively defined in file_actions.yml or the other properties ssh_user, ssh_host, ssh_port can be defined in destination_params. This allows these actions to be usable as the default file action and made it much easier to test. - Fixes when constructing scp command-line (my version of Python didn't like a tuple in middle of subprocess.check_call). - Increase integration test timeout (these are slower than localhost RESTful transfer). - Add integration test for each of these commands.
Showing
- pulsar/client/action_mapper.py 29 additions, 16 deletionspulsar/client/action_mapper.py
- pulsar/client/client.py 2 additions, 1 deletionpulsar/client/client.py
- pulsar/client/test/check.py 10 additions, 1 deletionpulsar/client/test/check.py
- pulsar/client/transport/ssh.py 38 additions, 4 deletionspulsar/client/transport/ssh.py
- test/integration_test.py 24 additions, 1 deletiontest/integration_test.py
- test/test_utils.py 6 additions, 0 deletionstest/test_utils.py
Loading
Please register or sign in to comment