Skip to content

Commit

Permalink
Fixed failing container tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zezha-msft committed Jul 24, 2019
1 parent e36d998 commit 33c102d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions azblob/zt_url_container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ func (s *aztestsSuite) TestContainerDeleteIfModifiedSinceTrue(c *chk.C) {
bsu := getBSU()
containerURL, _ := createNewContainer(c, bsu)

defer deleteContainer(c, containerURL)

_, err := containerURL.Delete(ctx,
azblob.ContainerAccessConditions{ModifiedAccessConditions: azblob.ModifiedAccessConditions{IfModifiedSince: currentTime}})
c.Assert(err, chk.IsNil)
Expand All @@ -246,8 +244,6 @@ func (s *aztestsSuite) TestContainerDeleteIfUnModifiedSinceTrue(c *chk.C) {
bsu := getBSU()
containerURL, _ := createNewContainer(c, bsu)

defer deleteContainer(c, containerURL)

currentTime := getRelativeTimeGMT(10)
_, err := containerURL.Delete(ctx,
azblob.ContainerAccessConditions{ModifiedAccessConditions: azblob.ModifiedAccessConditions{IfUnmodifiedSince: currentTime}})
Expand Down

0 comments on commit 33c102d

Please sign in to comment.