Skip to content

Commit

Permalink
chore: update UUID dependency (#330)
Browse files Browse the repository at this point in the history
updating to latest UUID requires a slight code change in some cases.
  • Loading branch information
bcoe authored and NimJay committed Nov 19, 2022
1 parent 42573f4 commit 672d696
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dataproc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"devDependencies": {
"chai": "^4.2.0",
"mocha": "^7.0.0",
"uuid": "^3.3.3"
"uuid": "^7.0.2"
}
}
4 changes: 2 additions & 2 deletions dataproc/system-test/createCluster.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
const {assert} = require('chai');
const {describe, it, after} = require('mocha');
const cp = require('child_process');
const uuid = require('uuid');
const {v4} = require('uuid');

const region = 'us-central1';
const clusterName = `node-cc-test-${uuid()}`;
const clusterName = `node-cc-test-${v4()}`;

const dataproc = require('@google-cloud/dataproc');
const clusterClient = new dataproc.v1.ClusterControllerClient({
Expand Down
4 changes: 2 additions & 2 deletions dataproc/system-test/quickstart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
const {assert} = require('chai');
const {describe, it, before, after} = require('mocha');
const cp = require('child_process');
const uuid = require('uuid');
const {v4} = require('uuid');

const dataproc = require('@google-cloud/dataproc');
const {Storage} = require('@google-cloud/storage');

const myUuid = uuid();
const myUuid = v4();
const region = 'us-central1';
const clusterName = `node-qs-test-${myUuid}`;
const bucketName = `node-dataproc-qs-test-${myUuid}`;
Expand Down

0 comments on commit 672d696

Please sign in to comment.