David Wilson
05f9fb4dd8
issue #409 : don't run kubectl test in <2.5.
6 years ago
David Wilson
0e8f451190
issue #409 : add stub LXC test, refactor playbooks.
6 years ago
David Wilson
e832ddec13
issue #409 : mark sudo test noninteractive
6 years ago
David Wilson
a77f07659e
issue #409 : make setns test to work anywhere sudo works.
6 years ago
David Wilson
48942a8a30
issue #409 : updat Changelog.
6 years ago
David Wilson
18af1dfb51
ansible: kubectl_path argument appears in wrong connection method
...
Closes #409 .
6 years ago
David Wilson
f2294c1678
issue #409 : add new stub_connections/ test type.
6 years ago
David Wilson
429832b8f7
issue #409 : add kubectl stub and constructor test.
6 years ago
David Wilson
c51b67b863
issue #409 : add test stubs to the PATH in run_ansible_playbook.py
6 years ago
David Wilson
51658fdd66
issue #409 : name-prefix stubs so they can be added to PATH
...
Allows us to reference them from playbooks easily.
6 years ago
David Wilson
5b916fc556
issue #409 : Pythonize run_ansible_playbook.sh
...
And add git_basedir extra variable.
6 years ago
David Wilson
48e8f1f7aa
tests: Pythonize write_all_consumer.py
6 years ago
David Wilson
f53e7dd637
tests: Pythonize another shell script.
6 years ago
David Wilson
332d128651
tests: get rid of some more shell
6 years ago
David Wilson
b98b7d1da4
Merge remote-tracking branch 'origin/dmw'
...
- poller tests, event versioning
- issue #373
6 years ago
David Wilson
026710cb28
issue #373 : update Changelog.
6 years ago
David Wilson
71f9e84ab3
Add EOF error hints for LXC/LXD; closes #373 .
6 years ago
David Wilson
d5a8293c91
issue #333 : closure & data distinctness tests.
6 years ago
David Wilson
22b4b186d7
issue #333 : add versioning to EpollPoller too.
6 years ago
David Wilson
73cda2994f
issue #333 : add versioning, initial batch of poller tests
...
Now poller is start enough to know a start_receive() during an iteration
does not cause events yielded by that iteration to associate with the
wrong descriptor.
These changes are tangentially related to the associated ticket, but
event versioning is still the underlying issue.
6 years ago
David Wilson
1198164ce6
docs: Changelog typos.
6 years ago
David Wilson
e643d67cd5
Merge remote-tracking branch 'origin/dmw'
...
- issue #334
6 years ago
David Wilson
766dce9a59
docs: update Changelog
6 years ago
David Wilson
96f000c5ea
ansible: tilde-expand SSH key before passing to SSH; closes #334 .
6 years ago
David Wilson
9aa76cf9ce
tests: better Docker test key comment.
6 years ago
David Wilson
9ba0561dd2
Merge remote-tracking branch 'origin/dmw'
...
- issue #411 : fix check_host_keys="accept"
- issue #305 : dead message if max message size exceeded
- issue #369 : implement Connection.reset()
- issue #76 : disconnect propagation
- log format string fixes
- various 2/3 test fixes
- large message benchmark
- centralize stub client utils in data/stubs/
- activate faulthandler in tests
- better OpenSSH 7.5+ permission denied handling
6 years ago
David Wilson
d81698c43a
docs: update Changelog.
6 years ago
David Wilson
1cbff1011e
core: send dead message if max message size exceeded; closes #405
6 years ago
David Wilson
1eae594e32
ssh: fix check_host_keys="accept" and test; closes #411
...
Add real accept/enforce tests.
6 years ago
David Wilson
cf50b572f6
docs: update ChangeLog.
6 years ago
David Wilson
16ca111ebd
ssh: better OpenSSH 7.5+ permission denied handling
...
The user@host prefix in new-style OpenSSH messages unfortunately takes
the host part from ~/.ssh/config and friends. There is no way to know
which hostname will appear in this string without parsing the OpenSSH
config, nor which username will appear.
Instead just regex it.
Add SSH stub modes to print the new/old errors and add some simple
tests.
This extends the work done in b9112a9cbb
6 years ago
David Wilson
b527ff0b66
docs: update Changelog; closes #369 .
6 years ago
David Wilson
536690760d
issue #369 : teach CallChain to reset the connection.
6 years ago
David Wilson
33412927f5
issue #369 : refactor Connection to support reset()
...
Now the tests pass.
6 years ago
David Wilson
9b7c958e2e
issue #369 : refactor ContextService to support reset().
6 years ago
David Wilson
519faa3b3b
issue #369 : add Connection.reset() test.
6 years ago
David Wilson
89852db163
issue #370 : add 'disconnect resets connection' test
6 years ago
David Wilson
c510e58f9b
issue #352 : add test for disconnect message.
6 years ago
David Wilson
d0f5671887
ansible: split key_from_dict() out into free function.
6 years ago
David Wilson
53d882dcbd
tests: activate faulthandler if available
6 years ago
David Wilson
efed9da474
docs: update Changelog.
6 years ago
David Wilson
9ec360c26d
core: split out & extend Broker.sync_call()
6 years ago
David Wilson
592d6fc8d3
tests: fix CaptureStreamHandler on 2.6.
6 years ago
David Wilson
3429e57825
tests: fix target_test 3.x compat.
6 years ago
David Wilson
3585ee74f7
tests: split out ansible_tests requirements
...
Also remove hard-coded Ansible version, the tests don't need it, nor
does local testing most of the time
6 years ago
David Wilson
905ab890fb
tests: stop idiotic Travis TTY/pip progress bar spam
6 years ago
David Wilson
0dc3f8accf
ansible: fix another target.py format string.
6 years ago
David Wilson
b70c57a2cb
tests: fix wstatus_to_str() test on 3.x
...
Now they use enums.
6 years ago
David Wilson
f343bbba3a
unix: fix exception catch on 3.x.
6 years ago
David Wilson
0864155592
tests: pin pycparser to last 2.6-compatible version
6 years ago