Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2266,7 +2266,6 @@ class BlobAPITest extends APISpec {

when:
def undeleteHeaders = bc.undeleteWithResponse(null, null).getHeaders()

bc.getProperties()

then:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,11 @@ class ServiceAPITest extends APISpec {
blobClient = containerClient.getBlobClient(generateBlobName())
blobClient.upload(defaultInputStream.get(), defaultDataSize)

sleepIfRecord(10 * 1000) // To allow tags to index

when:
def results = primaryBlobServiceClient.findBlobsByTags("\"bar\"='foo'")
def results = primaryBlobServiceClient.findBlobsByTags(String.format("@container='%s' AND \"bar\"='foo'",
containerClient.getBlobContainerName()))

then:
results.size() == 1
Expand All @@ -292,6 +295,8 @@ class ServiceAPITest extends APISpec {
new BlobParallelUploadOptions(defaultInputStream.get(), defaultDataSize).setTags(tags), null, null)
}

sleepIfRecord(10 * 1000) // To allow tags to index

def firstPage = primaryBlobServiceClient.findBlobsByTags(new FindBlobsOptions("\"tag\"='value'")
.setMaxResultsPerPage(5), null, Context.NONE)
.iterableByPage().iterator().next()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class VersioningTest extends APISpec {
def setup() {
blobName = generateBlobName()
containerName = generateContainerName()
blobContainerClient = primaryBlobServiceClient.createBlobContainer(containerName)
blobContainerClient = versionedBlobServiceClient.createBlobContainer(containerName)
blobClient = blobContainerClient.getBlobClient(blobName)
}

Expand Down
Loading