From d55c063d0a57776e36c218799c38103f347c6091 Mon Sep 17 00:00:00 2001 From: xwxw-g <58997759+xwxw-g@users.noreply.github.com> Date: Wed, 8 Jul 2020 18:03:04 -0700 Subject: [PATCH] test: fix sample test by pointing at a shared cluster with Agones (#81) --- game-servers/snippets/test/create_cluster.test.js | 2 +- game-servers/snippets/test/delete_cluster.test.js | 2 +- game-servers/snippets/test/get_cluster.test.js | 2 +- game-servers/snippets/test/list_clusters.test.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/game-servers/snippets/test/create_cluster.test.js b/game-servers/snippets/test/create_cluster.test.js index dc0bb66235..a13ea88e66 100644 --- a/game-servers/snippets/test/create_cluster.test.js +++ b/game-servers/snippets/test/create_cluster.test.js @@ -30,7 +30,7 @@ const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); const LOCATION = 'us-central1'; const GKE_CLUSTER_NAME = process.env.SAMPLE_CLUSTER_NAME || - 'projects/1046198160504/locations/us-west1-a/clusters/grpc-bug-cluster'; + 'projects/217093627905/locations/us-central1/clusters/gke-shared-default'; describe('Game Servers Create Cluster Test', () => { const realmsClient = new RealmsServiceClient(); diff --git a/game-servers/snippets/test/delete_cluster.test.js b/game-servers/snippets/test/delete_cluster.test.js index c09a1b528a..832e51737b 100644 --- a/game-servers/snippets/test/delete_cluster.test.js +++ b/game-servers/snippets/test/delete_cluster.test.js @@ -30,7 +30,7 @@ const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); const LOCATION = 'us-central1'; const GKE_CLUSTER_NAME = process.env.SAMPLE_CLUSTER_NAME || - 'projects/1046198160504/locations/us-west1-a/clusters/grpc-bug-cluster'; + 'projects/217093627905/locations/us-central1/clusters/gke-shared-default'; describe('Game Servers Delete Cluster Test', () => { const realmsClient = new RealmsServiceClient(); diff --git a/game-servers/snippets/test/get_cluster.test.js b/game-servers/snippets/test/get_cluster.test.js index fc0a761ae2..d62765c3f5 100644 --- a/game-servers/snippets/test/get_cluster.test.js +++ b/game-servers/snippets/test/get_cluster.test.js @@ -30,7 +30,7 @@ const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); const LOCATION = 'us-central1'; const GKE_CLUSTER_NAME = process.env.SAMPLE_CLUSTER_NAME || - 'projects/1046198160504/locations/us-west1-a/clusters/grpc-bug-cluster'; + 'projects/217093627905/locations/us-central1/clusters/gke-shared-default'; describe('Game Servers Get Cluster Test', () => { const realmsClient = new RealmsServiceClient(); diff --git a/game-servers/snippets/test/list_clusters.test.js b/game-servers/snippets/test/list_clusters.test.js index 51d5478742..b32b7ed245 100644 --- a/game-servers/snippets/test/list_clusters.test.js +++ b/game-servers/snippets/test/list_clusters.test.js @@ -30,7 +30,7 @@ const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); const LOCATION = 'us-central1'; const GKE_CLUSTER_NAME = process.env.SAMPLE_CLUSTER_NAME || - 'projects/1046198160504/locations/us-west1-a/clusters/grpc-bug-cluster'; + 'projects/217093627905/locations/us-central1/clusters/gke-shared-default'; describe('Game Servers List Clusters Test', () => { const realmsClient = new RealmsServiceClient();