Azure / Azure/Azurite

Add back 3 test case skipped for SDK issue

Open
#1,435 0 comments 1 reaction 1 assignee Claimed by @blueww View on GitHub
blob-storage sdk
Dominant language
TypeScript
Stars
2.3k
Forks
393
Avg merge
1d 20h
Merged PRs (30d)
36

Description

When we upgrade JS SDK "@azure/storage-blob" to "12.9.0" in Azurite test, we find a failure with SDK issue.
We skipped the 3 test cases currently.
We need to add them back when the issue is fixed in SDK.

BlockBlobAPIs:
"stageBlock @loki @sql"
"stageBlock with double commit block should work @loki @sql"

ContainerAPIs
"should only show uncommitted blobs in listBlobFlatSegment with uncommittedblobs option @loki @sql"

The issue is:

When we list uncimmited blob from container, it will fail

Code:

```
const result1 = (
await containerClient
.listBlobsFlat({
includeUncommitedBlobs: true
})
.byPage()
.next()
).value;

```

The error is:

` ContainerAPIs should only show uncommitted blobs in listBlobFlatSegment with uncommittedblobs option @loki @sql: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:371:5) at Function.from (node:buffer:322:9) at decodeBase64String (node_modules\@azure\storage-blob\src\utils\utils.common.ts:834:19) at ParseBlobItem (node_modules\@azure\storage-blob\src\utils\utils.common.ts:879:17) at ProcessBlobItems (node_modules\@azure\storage-blob\src\utils\utils.common.ts:999:20) at ContainerClient.listBlobFlatSegment (node_modules\@azure\storage-blob\src\ContainerClient.ts:1351:38) at processTicksAndRejections (node:internal/process/task_queues:96:5)`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.