Skip to content

Commit 0773cdd

Browse files
author
Joanna Grycz
committed
Job name adjusted
1 parent 3dda1e9 commit 0773cdd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

batch/create/create_batch_custom_network.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function main() {
3535
const region = 'europe-central2';
3636
// The name of the job that will be created.
3737
// It needs to be unique for each project and region pair.
38-
const jobName = 'batch-custom-network';
38+
const jobName = 'example-job';
3939
// The name of a VPC network in the current project or a Shared VPC network that is hosted by
4040
// or shared with the current project.
4141
const network = 'global/networks/test-network';

batch/test/create_batch_custom_network.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const {deleteJob} = require('./batchClient_operations');
2727
const batchClient = new BatchServiceClient();
2828

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

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

3838
after(async () => {
39-
await deleteJob(batchClient, projectId, region, runnableName);
39+
await deleteJob(batchClient, projectId, region, jobName);
4040
});
4141

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

0 commit comments

Comments
 (0)