Skip to content

Commit

Permalink
fix: @421 (#769)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
asthamohta and parthea authored Jul 11, 2022
1 parent f2c273d commit 58640a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion samples/samples/snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2035,7 +2035,7 @@ def create_client_with_query_options(instance_id, database_id):
spanner_client = spanner.Client(
query_options={
"optimizer_version": "1",
"optimizer_statistics_package": "auto_20191128_14_47_22UTC",
"optimizer_statistics_package": "latest",
}
)
instance = spanner_client.instance(instance_id)
Expand Down
4 changes: 0 additions & 4 deletions samples/samples/snippets_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,10 +627,6 @@ def test_query_data_with_query_options(capsys, instance_id, sample_database):
assert "VenueId: 42, VenueName: Venue 42, LastUpdateTime:" in out


@pytest.mark.skip(
"Failure is due to the package being missing on the backend."
"See: https://github.com/googleapis/python-spanner/issues/421"
)
@pytest.mark.dependency(depends=["insert_datatypes_data"])
def test_create_client_with_query_options(capsys, instance_id, sample_database):
snippets.create_client_with_query_options(instance_id, sample_database.database_id)
Expand Down

0 comments on commit 58640a1

Please sign in to comment.