From f2af2a9b2ceb180bf87301365d96a6d8515ddccd Mon Sep 17 00:00:00 2001 From: Gaurav Purohit Date: Mon, 7 Aug 2023 12:43:57 +0530 Subject: [PATCH] Enabling Go Integration tests for databoost (#8295) Co-authored-by: Sri Harsha CH <57220027+harshachinta@users.noreply.github.com> --- spanner/integration_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spanner/integration_test.go b/spanner/integration_test.go index f8cae0c1e281..75d1d3e8bea1 100644 --- a/spanner/integration_test.go +++ b/spanner/integration_test.go @@ -3172,7 +3172,7 @@ func TestIntegration_BatchQuery(t *testing.T) { t.Fatal(err) } defer txn.Cleanup(ctx) - if partitions, err = txn.PartitionQueryWithOptions(ctx, stmt, PartitionOptions{0, 3}, QueryOptions{DataBoostEnabled: false}); err != nil { + if partitions, err = txn.PartitionQueryWithOptions(ctx, stmt, PartitionOptions{0, 3}, QueryOptions{DataBoostEnabled: true}); err != nil { t.Fatal(err) } @@ -3255,7 +3255,7 @@ func TestIntegration_BatchRead(t *testing.T) { t.Fatal(err) } defer txn.Cleanup(ctx) - if partitions, err = txn.PartitionReadWithOptions(ctx, "test", AllKeys(), simpleDBTableColumns, PartitionOptions{0, 3}, ReadOptions{DataBoostEnabled: false}); err != nil { + if partitions, err = txn.PartitionReadWithOptions(ctx, "test", AllKeys(), simpleDBTableColumns, PartitionOptions{0, 3}, ReadOptions{DataBoostEnabled: true}); err != nil { t.Fatal(err) }