Commit Graph

24 Commits

Author SHA1 Message Date
rallytime
bd58650af2 Merge branch '2016.3' into 'carbon'
Conflicts:
  - tests/unit/netapi/rest_tornado/test_handlers.py
  - tests/utils/__init__.py
2016-10-25 10:39:02 -06:00
Mike Place
88bcfa2c0a
Fix TCP test 2016-10-25 16:42:50 +09:00
Pedro Algarvio
a0d47fac40
Don't run routines if _handle_payload is not present 2016-08-22 00:36:53 +01:00
rallytime
7b0ad25b09 Remove iteritems() references from unit/transport/*.py files 2016-07-19 10:22:33 -06:00
Justin Findlay
e46bac2d98 transport.tcp unit tests: disable hanging tests 2016-03-10 10:57:21 -07:00
justinta89
fd0dedeb99 Skipping Async tests
Skipping the transport async tests until we can devote more time to fixing the
test failures associated with them.
2015-09-24 13:41:58 -06:00
Mike Place
57b78d369a Make the testing ioloop the current one
Otherwise, loops from previous intefere and cause stacktraces on ioloop init
2015-09-03 13:28:28 -06:00
Thomas Jackson
8ff37b34b8 Check for FDs attached to the IOLoops after test runs 2015-04-10 09:40:26 -07:00
Thomas Jackson
cc06dd620d Pylint 2015-04-08 08:04:02 -07:00
Thomas Jackson
bf97e8c16f Make sure to close server processes after each test.
Waiting for the destructor doesn't necessarily work, since its not gauranteed to run immediately.
2015-04-07 21:25:53 -07:00
Thomas Jackson
cb02d0e021 Remove "close()" api-- just use a destructor 2015-04-07 21:01:43 -07:00
Thomas Jackson
d87c62b453 Make transport unit tests pull configs from test suite instead of from /etc/salt 2015-04-07 21:01:42 -07:00
Thomas Jackson
e17824a0b1 Change _handle_payload to return a future.
This means we can make more and more of the core async (using coroutines) without having to change the transport modules-- as they all already expect futures.
2015-04-07 21:01:15 -07:00
Thomas Jackson
e89da4e26b Make AsyncAuth singleton per io_loop
In addition this makes the singleton instance mapping use weakrefs-- so if the io_loop goes away (or we don't reference the object anywhere) we will remove the auth instance. This allows for us to "unload" an auth without having to exit the interpreter or forcibly delete it
2015-04-07 20:53:28 -07:00
Thomas Jackson
c6245c869e Reset asyncauth singleton in tests 2015-04-07 20:53:28 -07:00
Thomas Jackson
540710c1c3 Cleanup shutdown of tests 2015-04-07 20:53:27 -07:00
Thomas Jackson
b1ca45dcee Refactor pub tests 2015-04-07 20:53:27 -07:00
Thomas Jackson
2ce0582991 Add unregister tests 2015-04-07 20:53:27 -07:00
Thomas Jackson
bfeb3bf7f1 Misc cleanup to get the minion to use async sign_in 2015-04-07 20:53:26 -07:00
Thomas Jackson
6ab5da87c4 Cleanup async 2015-04-07 20:53:26 -07:00
Thomas Jackson
de26e7eae2 Handle timeouts in auth/pub connect 2015-04-07 20:53:26 -07:00
Thomas Jackson
8c7ee3109d Begin work on async auth/pub/req channels.
For a while we'll have to maintin sync and async versions. The plan is to replace the sync ones with wraps around the async ones.
2015-04-07 20:53:26 -07:00
Thomas Jackson
1a88eeeed4 Add basic Pub channel tests 2015-04-07 20:53:26 -07:00
Thomas Jackson
d619dfbf96 Add initial req_channel tests 2015-04-07 20:53:26 -07:00