Add back 3 test case skipped for SDK issue
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)