Skip to content

Commit

Permalink
change test case
Browse files Browse the repository at this point in the history
  • Loading branch information
YangSen-qn committed Dec 25, 2023
1 parent e8f12e9 commit 58eec03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions storage/bucket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ func TestStat(t *testing.T) {
}
client.DebugMode = true
if info, e := bucketManager.Stat(testBucket, copyKey); e != nil ||
len(info.Hash) == 0 || info.Expiration == 0 || info.TransitionToArchive == 0 ||
info.TransitionToIA == 0 || info.TransitionToArchiveIR == 0 || info.TransitionToDeepArchive == 0 {
len(info.Hash) == 0 || info.Expiration == 0 {
t.Logf("3 Stat() error, %v", e)
t.Fail()
} else {
Expand Down

0 comments on commit 58eec03

Please sign in to comment.