Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 26 additions & 20 deletions tests/spanner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,32 @@ license.workspace = true
run-integration-tests = []

[dependencies]
anyhow.workspace = true
base64.workspace = true
futures.workspace = true
google-cloud-gax = { workspace = true }
google-cloud-spanner = { workspace = true, features = ["unstable-stream"] }
google-cloud-test-utils = { workspace = true }
http = { workspace = true }
http-body = { workspace = true }
http-body-util = { workspace = true }
prost = { workspace = true }
prost-types.workspace = true
rand = { workspace = true }
reqwest = { workspace = true, features = ["json"] }
serde_json = { workspace = true }
spanner-grpc-mock = { path = "../../src/spanner/grpc-mock" }
time = { workspace = true }
tokio = { workspace = true, features = ["sync"] }
tokio-stream = { workspace = true }
tonic = { workspace = true }
tower = { workspace = true }
anyhow.workspace = true
base64.workspace = true
futures.workspace = true
google-cloud-auth = { workspace = true, features = ["default"] }
google-cloud-gax = { workspace = true }
google-cloud-longrunning = { workspace = true }
google-cloud-lro = { workspace = true }
google-cloud-spanner = { workspace = true, features = ["unstable-stream"] }
google-cloud-spanner-admin-database-v1 = { path = "../../src/generated/spanner/admin/database/v1" }
google-cloud-test-utils = { workspace = true }
google-cloud-wkt = { workspace = true }
http = { workspace = true }
http-body = { workspace = true }
http-body-util = { workspace = true }
prost = { workspace = true }
prost-types.workspace = true
rand = { workspace = true }
reqwest = { workspace = true, features = ["json"] }
serde_json = { workspace = true }
spanner-grpc-mock = { path = "../../src/spanner/grpc-mock" }
time = { workspace = true }
tokio = { workspace = true, features = ["sync"] }
tokio-stream = { workspace = true }
tonic = { workspace = true }
tower = { workspace = true }
tracing.workspace = true

[lints]
workspace = true
2 changes: 1 addition & 1 deletion tests/spanner/src/batch_read_only_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub async fn partitioned_query(db_client: &DatabaseClient) -> anyhow::Result<()>
// 3. Create a query that selects all the test rows and partition it.
let hint = "@{spanner_emulator.disable_query_partitionability_check=true}";
let sql = format!(
"{} SELECT Id, ColInt64, ColString FROM AllTypes WHERE Id IN ('{}', '{}', '{}') ORDER BY ColInt64",
"{} SELECT Id, ColInt64, ColString FROM AllTypes WHERE Id IN ('{}', '{}', '{}')",
hint, id1, id2, id3
);
let stmt = Statement::builder(sql).build();
Expand Down
Loading
Loading