Fixed - method containsAll execute incorrect or caused RedisException

modify the test case

Signed-off-by: seakider <seakider@gmail.com>
pull/6006/head
seakider 7 months ago
parent 2491156c1a
commit f45653ecbb

@ -44,7 +44,7 @@ public class RedissonListMultimapCacheTest extends RedissonBaseMultimapCacheTest
multimap.put("1", "3");
multimap.put("1", "3");
assertThat(multimap.get("1").containsAll(List.of("1", "2"))).isTrue();
assertThat(multimap.get("1").containsAll(List.of("1", "1", "1"))).isTrue();
assertThat(multimap.get("1").containsAll(List.of("1", "2", "4"))).isFalse();
assertThat(multimap.get("1").containsAll(List.of("1", "2", "1"))).isTrue();
assertThat(multimap.get("1").containsAll(List.of("1", "1"))).isTrue();

@ -42,7 +42,7 @@ public class RedissonSetMultimapCacheTest extends RedissonBaseMultimapCacheTest
multimap.put("1", "3");
multimap.put("1", "3");
assertThat(multimap.get("1").containsAll(List.of("1", "2"))).isTrue();
assertThat(multimap.get("1").containsAll(List.of("1", "1", "1"))).isTrue();
assertThat(multimap.get("1").containsAll(List.of("1", "2", "4"))).isFalse();
assertThat(multimap.get("1").containsAll(List.of("1", "2", "1"))).isTrue();
assertThat(multimap.get("1").containsAll(List.of("1", "1"))).isTrue();

Loading…
Cancel
Save