Skip to content
Snippets Groups Projects
  1. Mar 31, 2016
  2. Mar 24, 2016
  3. Mar 18, 2016
  4. Mar 17, 2016
    • Masood Malekghassemi's avatar
      Don't use a pipe for capturing in test runner · fd5a3ef9
      Masood Malekghassemi authored
      Apparently Python can call arbitrarily deallocation code whenever its
      allocator is invoked, which can cause output from gRPC core to stderr,
      which can happen on the thread that is emptying the stderr pipe, thus
      causing the stderr pipe to deadlock on itself.
      fd5a3ef9
  5. Mar 15, 2016
    • Masood Malekghassemi's avatar
      Fix two ways tests can hang · cbd1bce4
      Masood Malekghassemi authored
      Both have to do with the test runner's handling of the tests. With one
      it's the read thread somehow outliving the other threads (e.g. with
      ctrl-C). The other is due to a filled OS-level pipe's buffer causing a
      block while code is still holding the GIL in some gRPC core function. We
      can't empty the buffer from Python because the GIL is held, and the OS
      can't unblock because it's waiting for the buffer to get cleared:
      deadlock.
      cbd1bce4
  6. Mar 09, 2016
  7. Mar 03, 2016
  8. Dec 04, 2015
    • Masood Malekghassemi's avatar
      Make Python testing predictable again · 7566c9a8
      Masood Malekghassemi authored
      This reorganizes the Python code, scraps the current testing
      infrastructure, and implements a simple test discovery and run script
      based on the standard Python unittest library so we can trust that our
      tests are running.
      7566c9a8
Loading