mirror of
https://github.com/OpenMaxIO/openmaxio-object-browser
synced 2026-07-01 07:41:18 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user