File tree 1 file changed +1
-4
lines changed
service/src/test/java/org/whispersystems/textsecuregcm/storage 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 9
9
import static org .junit .jupiter .api .Assertions .assertDoesNotThrow ;
10
10
import static org .junit .jupiter .api .Assertions .assertEquals ;
11
11
import static org .junit .jupiter .api .Assertions .assertFalse ;
12
- import static org .junit .jupiter .api .Assertions .assertIterableEquals ;
13
- import static org .junit .jupiter .api .Assertions .assertNotNull ;
14
12
import static org .junit .jupiter .api .Assertions .assertNull ;
15
13
import static org .junit .jupiter .api .Assertions .assertTimeoutPreemptively ;
16
14
import static org .junit .jupiter .api .Assertions .assertTrue ;
56
54
import java .util .concurrent .TimeUnit ;
57
55
import java .util .concurrent .atomic .AtomicInteger ;
58
56
import java .util .stream .Collectors ;
59
- import java .util .stream .IntStream ;
60
57
import org .apache .commons .lang3 .ArrayUtils ;
61
58
import org .apache .commons .lang3 .RandomStringUtils ;
62
59
import org .junit .jupiter .api .AfterEach ;
@@ -459,7 +456,7 @@ void testMultiRecipientMessage(final boolean sharedMrmKeyPresent) {
459
456
do {
460
457
exists = 1 == REDIS_CLUSTER_EXTENSION .getRedisCluster ()
461
458
.withBinaryCluster (conn ->
462
- conn .sync ().hlen (MessagesCache .getMessageQueueKey (destinationServiceId .uuid (), deviceId )));
459
+ conn .sync ().exists (MessagesCache .getMessageQueueKey (destinationServiceId .uuid (), deviceId )));
463
460
} while (exists );
464
461
}, "Stale MRM message should be deleted asynchronously" );
465
462
You can’t perform that action at this time.
0 commit comments