From 85a9b0fdb19b13e5312b9b60147ff12d6c319978 Mon Sep 17 00:00:00 2001 From: rahul2393 Date: Thu, 3 Oct 2024 15:21:58 +0530 Subject: [PATCH] test: fix tests failing because of Editions (#2142) * test: fix tests failing because of Editions * fix instance partition tests --- samples/system-test/spanner.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/system-test/spanner.test.js b/samples/system-test/spanner.test.js index 384e3fc58..d1354c8f2 100644 --- a/samples/system-test/spanner.test.js +++ b/samples/system-test/spanner.test.js @@ -212,6 +212,7 @@ describe('Autogenerated Admin Clients', () => { const [, operation] = await instance.create({ config: LOCATION_ID, nodes: 1, + edition: 'ENTERPRISE_PLUS', labels: { [LABEL]: 'true', created: CURRENT_TIME, @@ -1834,6 +1835,7 @@ describe('Autogenerated Admin Clients', () => { const [, operation] = await instance.create({ config: 'regional-us-central1', nodes: 1, + edition: 'ENTERPRISE_PLUS', displayName: 'Instance partitions test', labels: { ['cloud_spanner_samples']: 'true',