Skip to content

Commit

Permalink
Clean up leftover test files
Browse files Browse the repository at this point in the history
Signed-off-by: Mark DeLillo <[email protected]>
  • Loading branch information
mdelillo committed Feb 11, 2020
1 parent a034cce commit 7b1ba3b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions integration/s3client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ var _ = Describe("S3client", func() {
err := s3client.DeleteVersionedFile(versionedBucketName, filepath.Join(directoryPrefix, "file-to-upload-2"), fileTwoVersion)
Ω(err).ShouldNot(HaveOccurred())
}

fileThreeVersions, err := s3client.BucketFileVersions(versionedBucketName, filepath.Join(directoryPrefix, "file-to-upload-3"))
Ω(err).ShouldNot(HaveOccurred())

for _, fileThreeVersion := range fileThreeVersions {
err := s3client.DeleteVersionedFile(versionedBucketName, filepath.Join(directoryPrefix, "file-to-upload-3"), fileThreeVersion)
Ω(err).ShouldNot(HaveOccurred())
}
})

It("can interact with buckets", func() {
Expand Down

0 comments on commit 7b1ba3b

Please sign in to comment.