We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7a5f36 commit 97d6312Copy full SHA for 97d6312
spanner/cloud-client/snippets_test.py
@@ -363,6 +363,9 @@ def test_query_data_with_string(capsys):
363
364
365
def test_query_data_with_timestamp_parameter(capsys):
366
+ # Wait 5 seconds to avoid a time drift issue for the next query:
367
+ # https://github.com/GoogleCloudPlatform/python-docs-samples/issues/4197.
368
+ time.sleep(5)
369
snippets.query_data_with_timestamp_parameter(INSTANCE_ID, DATABASE_ID)
370
out, _ = capsys.readouterr()
371
assert 'VenueId: 4, VenueName: Venue 4, LastUpdateTime:' in out
0 commit comments