Skip to content

Commit

Permalink
Job name adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
Joanna Grycz authored and gryczj committed Aug 20, 2024
1 parent 7e65da8 commit f39b003
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion batch/create/create_batch_custom_network.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function main() {
const region = 'europe-central2';
// The name of the job that will be created.
// It needs to be unique for each project and region pair.
const jobName = 'batch-custom-network';
const jobName = 'example-job';
// The name of a VPC network in the current project or a Shared VPC network that is hosted by
// or shared with the current project.
const network = 'global/networks/test-network';
Expand Down
4 changes: 2 additions & 2 deletions batch/test/create_batch_custom_network.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const {deleteJob} = require('./batchClient_operations');
const batchClient = new BatchServiceClient();

describe('Create batch custom network', async () => {
const runnableName = 'batch-custom-network';
const jobName = 'example-job';
const region = 'europe-central2';
let projectId;

Expand All @@ -36,7 +36,7 @@ describe('Create batch custom network', async () => {
});

after(async () => {
await deleteJob(batchClient, projectId, region, runnableName);
await deleteJob(batchClient, projectId, region, jobName);
});

it('should create a new job with custom network', async () => {
Expand Down

0 comments on commit f39b003

Please sign in to comment.