Commit Graph

12 Commits (227defce9f88e25542cc1e4c12ee9bef2e9ce61f)

Author SHA1 Message Date
David Wilson 8439e889ed core: More robust shutdown
Now there is a separate SHUTDOWN message that relies only on being
received by the broker thread, the main thread can be hung horribly and
the process will still eventually receive a SIGTERM.
7 years ago
David Wilson 1784f3c83a Add test that hangs the main thread during shutdown. 7 years ago
David Wilson fa9def91f2 Implement test_aborted_on_local_context_disconnect 7 years ago
David Wilson 2659cf0ae0 Use enhanced assertRaises in call_function_test.py. 7 years ago
David Wilson b0e13fefdd Fix 2 call_function_test failures. 7 years ago
David Wilson d553295135 Syntax error. 7 years ago
David Wilson 5da8dc0cdc Allow running without py.test. 7 years ago
David Wilson aa5bc53f6d Update test. 7 years ago
David Wilson 8f08aa4fc8 Tidy up test. 7 years ago
David Wilson 066b39d570 pickle: support Context(), use same unpickler everywhere.
* Support passing Context() objects in function calls and return values.
  Now the fakessh demo from the documentation index would work
  correctly.

* Since slaves can communicate with each other now, they should also use
  the same approach to unpickling as the master already used. Collapse
  away all the unpickle extension crap and hard-wire just the 3 types
  that support unpickling.
7 years ago
David Wilson 1888c5c660 Add some broken tests 7 years ago
David Wilson 4e51f516a6 Add call_function_test, fix various exception bugs. 7 years ago