Relax membership assertion for the prefix test.

Relaxes the membership check in prefix testing. The check is no longer
sensitive to ordering of the results, as different providers may
append, prepend, or insert in sorted order the relative prefixes.
This commit is contained in:
Timur Alperovich 2015-07-06 15:10:29 -07:00
parent 82da165fdd
commit 14087e56bd
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ public class BaseContainerLiveTest extends BaseBlobStoreIntegrationTest {
names.add(sm.getName());
}
assertThat(names).containsExactlyElementsOf(expectedSet);
assertThat(names).containsOnlyElementsOf(expectedSet);
}
private void runCreateContainerInLocation(String payload, Location nonDefault) throws InterruptedException,