Skip to content

Fix php testWatchConnectivityState#13274

Merged
jtattermusch merged 1 commit intogrpc:masterfrom
jtattermusch:php_dont_pass_timeout_to_core
Nov 7, 2017
Merged

Fix php testWatchConnectivityState#13274
jtattermusch merged 1 commit intogrpc:masterfrom
jtattermusch:php_dont_pass_timeout_to_core

Conversation

@jtattermusch
Copy link
Copy Markdown
Contributor

Fixes #12886.

The previous version of code was passing 'GPR_TIMESPAN' value as a deadline to C-core (which is treated as a timeout). Currently, that's probably broken, so changing to passing now() + timeout.

I tested locally and it seems to be fixing the issue even with timeout of 1000micro, but I wanted to be safe so I changed the timeout to 100ms.

We should probably file an issue for "passing GPR_TIMESPAN as a deadline" to C core not working correctly.

@jtattermusch
Copy link
Copy Markdown
Contributor Author

CC @ctiller

Copy link
Copy Markdown
Contributor

@ZhouyihaiDing ZhouyihaiDing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@jtattermusch
Copy link
Copy Markdown
Contributor Author

I filed #13275 for the C core issue.

@jtattermusch
Copy link
Copy Markdown
Contributor Author

Known issues:
#13287

@jtattermusch jtattermusch merged commit 150ebff into grpc:master Nov 7, 2017
@dgquintas
Copy link
Copy Markdown
Contributor

nice! thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

failed tests: php_linux_dbg_native:ChannelTest.php

4 participants