Uh oh!
There was an error while loading. Please reload this page.
Add PubSub system test for fix in #4174 - #4190
Conversation
jeffkpayne
commented
Oct 14, 2017
Not sure why, but this is showing the commit from my previous PR. I fetched and merged upstream/master, but maybe I should have rebased on master? Sorry for any inconvenience! |
…allbacks to complete. Guessing this test was succeeding before because of the bug fixed in googleapis#4174 itself.
jeffkpayne
commented
Oct 14, 2017
| from __future__ import absolute_import | ||
| from datetime import datetime |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| # Actually run the method and prove that the callback was | ||
| # called in the expected way. | ||
| policy.on_response(response) | ||
| time.sleep(1) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…sertions in test_on_response, per code review
jeffkpayne
commented
Oct 17, 2017
Thought about factoring out: and into a function, but wasn't sure if that was overkill or where to put it... |
jeffkpayne
commented
Oct 17, 2017
Gah, coverage. Fixing now... |
jeffkpayne
commented
Oct 17, 2017
OK, so showing 100% for everything, but CircleCI shows 98% for |
jeffkpayne
commented
Oct 17, 2017
Gah, now I see it locally. Adding a test for |
tseaver
commented
Oct 17, 2017
Thank you! |
@lukesneeringer Here's my attempt at a system test for the fix in #4174
Let me know how I can improve it, etc. Thanks.