Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 80e451a

Browse files
committed
tests: move everything to central2 for system tests
1 parent a68d39c commit 80e451a

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

system-test/bigtable.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ describe('Bigtable', () => {
103103
clusters: [
104104
{
105105
id: CLUSTER_ID,
106-
location: 'us-central1-c',
106+
location: 'us-central2-d',
107107
nodes: 3,
108108
storage: 'ssd',
109109
},
@@ -116,7 +116,7 @@ describe('Bigtable', () => {
116116
clusters: [
117117
{
118118
id: CLUSTER_ID_HDD,
119-
location: 'us-central1-c',
119+
location: 'us-central2-d',
120120
nodes: 3,
121121
storage: 'hdd',
122122
},
@@ -214,7 +214,7 @@ describe('Bigtable', () => {
214214
clusters: [
215215
{
216216
id: clusteId,
217-
location: 'us-central1-c',
217+
location: 'us-central2-d',
218218
nodes: 3,
219219
},
220220
],
@@ -244,8 +244,8 @@ describe('Bigtable', () => {
244244

245245
before(async () => {
246246
const projectId = await bigtable.auth.getProjectId();
247-
kmsKeyName = `projects/${projectId}/locations/us-central1/keyRings/${keyRingId}/cryptoKeys/${cryptoKeyId}`;
248-
keyRingsBaseUrl = `https://cloudkms.googleapis.com/v1/projects/${projectId}/locations/us-central1/keyRings`;
247+
kmsKeyName = `projects/${projectId}/locations/us-central2/keyRings/${keyRingId}/cryptoKeys/${cryptoKeyId}`;
248+
keyRingsBaseUrl = `https://cloudkms.googleapis.com/v1/projects/${projectId}/locations/us-central2/keyRings`;
249249

250250
await bigtable.auth.request({
251251
method: 'POST',
@@ -267,7 +267,7 @@ describe('Bigtable', () => {
267267
clusters: [
268268
{
269269
id: CMEK_CLUSTER.id,
270-
location: 'us-central1-a',
270+
location: 'us-central2-b',
271271
nodes: 3,
272272
key: kmsKeyName,
273273
},
@@ -1717,7 +1717,7 @@ describe('Bigtable', () => {
17171717
{
17181718
id: destinationClusterId,
17191719
nodes: 3,
1720-
location: 'us-central1-f',
1720+
location: 'us-central2-b',
17211721
storage: 'ssd',
17221722
},
17231723
],
@@ -1806,7 +1806,7 @@ describe('Bigtable', () => {
18061806
{
18071807
id: destinationClusterId,
18081808
nodes: 3,
1809-
location: 'us-central1-f',
1809+
location: 'us-central2-b',
18101810
storage: 'ssd',
18111811
},
18121812
],

system-test/read-modify-write-row-interceptors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {createMetricsUnaryInterceptorProvider} from '../src/client-side-metrics/
3232

3333
const INSTANCE_ID = 'isolated-rmw-instance';
3434
const TABLE_ID = 'isolated-rmw-table';
35-
const ZONE = 'us-central1-a';
35+
const ZONE = 'us-central2-a';
3636
const CLUSTER = 'fake-cluster';
3737
const COLUMN_FAMILY = 'traits';
3838
const COLUMN_FAMILIES = [COLUMN_FAMILY];

test/instance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ describe('Bigtable/Instance', () => {
465465
it('should respect the nodes option', done => {
466466
const options = {
467467
nodes: 3,
468-
location: 'us-central1-c',
468+
location: 'us-central2-c',
469469
};
470470
// eslint-disable-next-line @typescript-eslint/no-explicit-any
471471
(instance.bigtable.request as Function) = (config: any) => {

0 commit comments

Comments
 (0)