Skip to content

Commit

Permalink
Merge pull request #285 from kfarnung/testcontainercleanup
Browse files Browse the repository at this point in the history
Clean up missed test containers
  • Loading branch information
zezha-msft authored Aug 25, 2021
2 parents 4977a5b + 2ba6c37 commit a7a0fdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions azblob/zt_blob_tags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ import (
"encoding/base64"
"encoding/binary"
"fmt"
chk "gopkg.in/check.v1"
"io/ioutil"
"log"
"net/url"
"strings"
"time"

chk "gopkg.in/check.v1"
)

func (s *aztestsSuite) TestSetBlobTags(c *chk.C) {
Expand Down Expand Up @@ -604,7 +605,7 @@ func (s *aztestsSuite) TestFilterBlobsUsingAccountSAS(c *chk.C) {
sasQueryParams, err := AccountSASSignatureValues{
Protocol: SASProtocolHTTPS,
ExpiryTime: time.Now().UTC().Add(48 * time.Hour),
Permissions: AccountSASPermissions{Read: true, List: true, Write: true, DeletePreviousVersion: true, Tag: true, FilterByTags: true, Create: true}.String(),
Permissions: AccountSASPermissions{Read: true, List: true, Write: true, DeletePreviousVersion: true, Tag: true, FilterByTags: true, Create: true, Delete: true}.String(),
Services: AccountSASServices{Blob: true}.String(),
ResourceTypes: AccountSASResourceTypes{Service: true, Container: true, Object: true}.String(),
}.NewSASQueryParameters(credential)
Expand Down
2 changes: 1 addition & 1 deletion azblob/zt_client_provided_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func (s *aztestsSuite) TestPageBlockWithCPK(c *chk.C) {
func (s *aztestsSuite) TestPageBlockWithCPKByScope(c *chk.C) {
bsu := getBSU()
container, _ := createNewContainer(c, bsu)
// defer delContainer(c, container)
defer delContainer(c, container)

testSize := 1 * 1024 * 1024
r, srcData := getRandomDataAndReader(testSize)
Expand Down

0 comments on commit a7a0fdb

Please sign in to comment.