From 72f7992ee1b85f2dcb3060e7464dc2d7086cb3e1 Mon Sep 17 00:00:00 2001 From: Denis DelGrosso <85250797+ddelgrosso1@users.noreply.github.com> Date: Thu, 7 Apr 2022 18:14:52 -0400 Subject: [PATCH] test: utilize unique filename in system tests (#1848) --- system-test/storage.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system-test/storage.ts b/system-test/storage.ts index 4fd29c23c..e4c51d7a4 100644 --- a/system-test/storage.ts +++ b/system-test/storage.ts @@ -980,7 +980,7 @@ describe('storage', () => { it('can be written to the bucket by project owner w/o configuration', async () => { await setUniformBucketLevelAccess(bucket, true); - const file = bucket.file('file'); + const file = bucket.file(`file-${uuid.v4()}`); return assert.doesNotReject(() => file.save('data')); }); }); @@ -997,7 +997,7 @@ describe('storage', () => { await createBucket(); await setUniformBucketLevelAccess(bucket, true); - file = bucket.file('file'); + file = bucket.file(`file-${uuid.v4()}`); await file.save('data'); }); @@ -1031,7 +1031,7 @@ describe('storage', () => { }); it('should preserve file ACL', async () => { - const file = bucket.file('file'); + const file = bucket.file(`file-${uuid.v4()}`); await file.save('data'); await file.acl.update(customAcl);