diff --git a/batch/create/create_batch_custom_network.js b/batch/create/create_batch_custom_network.js index 39e6adce24a..a866d10d919 100644 --- a/batch/create/create_batch_custom_network.js +++ b/batch/create/create_batch_custom_network.js @@ -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'; diff --git a/batch/test/create_batch_custom_network.test.js b/batch/test/create_batch_custom_network.test.js index f65dc760594..705b9cfd841 100644 --- a/batch/test/create_batch_custom_network.test.js +++ b/batch/test/create_batch_custom_network.test.js @@ -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; @@ -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 () => {