Skip to content

Stability fixes for python_plugin_test#2040

Merged
tbetbetbe merged 1 commit intogrpc:masterfrom
nathanielmanistaatgoogle:1900
Jun 11, 2015
Merged

Stability fixes for python_plugin_test#2040
tbetbetbe merged 1 commit intogrpc:masterfrom
nathanielmanistaatgoogle:1900

Conversation

@nathanielmanistaatgoogle
Copy link
Copy Markdown
Contributor

The "normal" timeout is eliminated. The "short" timeout is changed to
be the length used in tests that will time out as part of their
execution and the "long" timeout is changed to be a ridiculously high
value that will have no bearing on passing tests.

The "pause" behavior of _ServicerMethods is changed to use a
threading.Condition's wait/notify methods rather than busy-sleeping.

Tests that used servicer delay to verify that asynchronous calls are
not affected by server delay are changed to use servicer pause to
verify that asynchronous calls return while the servicer is paused.

Busy-sleeping in testHalfDuplexCallWedged is replaced with use of a
threading.Condition's wait/notify methods.

Fixes #1900.

The "normal" timeout is eliminated. The "short" timeout is changed to
be the length used in tests that will time out as part of their
execution and the "long" timeout is changed to be a ridiculously high
value that will have no bearing on passing tests.

The "pause" behavior of _ServicerMethods is changed to use a
threading.Condition's wait/notify methods rather than busy-sleeping.

Tests that used servicer delay to verify that asynchronous calls are
not affected by server delay are changed to use servicer pause to
verify that asynchronous calls return while the servicer is paused.

Busy-sleeping in testHalfDuplexCallWedged is replaced with use of a
threading.Condition's wait/notify methods.

Fixes grpc#1900.
tbetbetbe added a commit that referenced this pull request Jun 11, 2015
Stability fixes for python_plugin_test
@tbetbetbe tbetbetbe merged commit 5af8fcf into grpc:master Jun 11, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jan 30, 2019
@lock lock bot unassigned tbetbetbe Jan 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants