Skip to content

Commit aea8df5

Browse files
committed
test(storage): improve system test cases
1 parent 576f3d7 commit aea8df5

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

storage/system-test/buckets.test.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,14 @@ it('should create a hierarchical namespace enabled bucket', async () => {
345345
)
346346
);
347347

348-
const metadata = await dualRegionBucketTurbo.getMetadata();
349-
assert.strictEqual(metadata[0].rpo, RPO_DEFAULT);
348+
const [metadata] = await storage
349+
.bucket(bucketNameHierarchicalNamespace)
350+
.getMetadata();
351+
assert.deepStrictEqual(metadata.hierarchicalNamespace, {enabled: true});
352+
assert.strictEqual(
353+
metadata.iamConfiguration.uniformBucketLevelAccess.enabled,
354+
true
355+
);
350356
});
351357

352358
it("should add a bucket's website configuration", async () => {

0 commit comments

Comments
 (0)