~mhr3/unity-scopes-api/merge-trunk

Viewing all changes in revision 410.

  • Committer: Tarmac
  • Author(s): Michi Henning
  • Date: 2014-07-15 01:52:28 UTC
  • mfrom: (407.1.3 fix-idle-timeout)
  • Revision ID: tarmac-20140715015228-m3se33mumdaxt35w
Fixed occasional IdleShutdown test failure by modifying the test.
The finished() message occasionally gets lost because Zmq shuts down
the outgoing sockets asynchronously. Every now and then, that shutdown
happens before the finished() message makes it into the Zmq
outgoing queue.

The test failure was bogus all along because, normally, a search()
in a scope should complete immediately and not hang around for the
full server idle timeout. The test still verifies that the run time
does not shut down too early though.

Approved by PS Jenkins bot, Michi Henning, Marcus Tomlinson.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: