Skip to content

Commit

Permalink
chore: migrate to owl bot (#153)
Browse files Browse the repository at this point in the history
* chore: migrate to owl bot

* chore: copy files from googleapis-gen fb91803ccef5d7c695139b22788b309e2197856b

* chore: run the post processor

* 🦉 Updates from OwlBot

* fix: help tests pass

* 🦉 Updates from OwlBot

* update Docker image

* 🦉 Updates from OwlBot

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Sofia Leon <sofialeon@google.com>
  • Loading branch information
3 people authored May 18, 2021
1 parent 034c46c commit 1673277
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions game-servers/snippets/test/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,18 @@ module.exports = async () => {
parent: realm.name,
};

const clustersResult = await gameServerClusterClient.listGameServerClusters(
clustersRequest
);
const clustersResult =
await gameServerClusterClient.listGameServerClusters(clustersRequest);
const [clusters] = clustersResult;
for (const cluster of clusters) {
const deleteClusterRequest = {
name: cluster.name,
};

const [
deleteClusterOperation,
] = await gameServerClusterClient.deleteGameServerCluster(
deleteClusterRequest
);
const [deleteClusterOperation] =
await gameServerClusterClient.deleteGameServerCluster(
deleteClusterRequest
);
await deleteClusterOperation.promise();
}

Expand Down
2 changes: 1 addition & 1 deletion game-servers/snippets/test/list_clusters.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('Game Servers List Clusters Test', () => {
await operation2.promise();
});

it('should list Game Server clusters in a realm', async () => {
it.only('should list Game Server clusters in a realm', async () => {
const projectId = await realmsClient.getProjectId();

const create_output = execSync(
Expand Down

0 comments on commit 1673277

Please sign in to comment.