Test for Get Object with Preview (#1848)

* Test for Get Object with Preview

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2022-04-18 12:03:06 -07:00
committed by GitHub
parent 50bc755b44
commit 86797cda20
4 changed files with 207 additions and 3 deletions

View File

@@ -2799,7 +2799,7 @@ func TestReplication(t *testing.T) {
}
assert.Greater(len(structBucketRepl.Rules), 0, "Number of expected rules is 0")
if len(structBucketRepl.Rules) == 0 {
if len(structBucketRepl.Rules) == 0 || len(structBucketRepl.Rules) < 3 {
return
}
// 4. Verify rules are enabled