Skip to content

Commit

Permalink
Adds updates for samples profiler ... vision [(#2439)](GoogleCloudPla…
Browse files Browse the repository at this point in the history
  • Loading branch information
gguuss authored and crwilcox committed Oct 7, 2019
1 parent a12a12b commit 3bad54d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion samples/snippets/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-cloud-pubsub==0.39.1
google-cloud-pubsub==1.0.0
2 changes: 2 additions & 0 deletions samples/snippets/subscriber_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import time

from gcp_devrel.testing import eventually_consistent
from gcp_devrel.testing.flaky import flaky
from google.cloud import pubsub_v1
import google.api_core.exceptions
import mock
Expand Down Expand Up @@ -193,6 +194,7 @@ def new_sleep(period):
return mock.patch('time.sleep', new=new_sleep)


@flaky
def test_receive(publisher_client, topic, subscription, capsys):
_publish_messages(publisher_client, topic)

Expand Down

0 comments on commit 3bad54d

Please sign in to comment.