@@ -39,8 +39,6 @@ public void simple() {
39
39
control .set ("foo" , "bar" );
40
40
assertEquals ("bar" , jedis .get ("foo" ));
41
41
control .del ("foo" );
42
- // this ping is an attempt to gain a reasonable amount of time to let invalidation messsage shows up on CacheConnection
43
- control .ping ();
44
42
assertNull (jedis .get ("foo" ));
45
43
}
46
44
}
@@ -56,8 +54,6 @@ public void simpleWithSimpleMap() {
56
54
assertEquals (1 , cache .getSize ());
57
55
control .del ("foo" );
58
56
assertEquals (1 , cache .getSize ());
59
- // this ping is an attempt to gain a reasonable amount of time to let invalidation messsage shows up on CacheConnection
60
- control .ping ();
61
57
assertNull (jedis .get ("foo" ));
62
58
assertEquals (1 , cache .getSize ());
63
59
assertNull (jedis .get ("foo" ));
@@ -72,8 +68,6 @@ public void flushAll() {
72
68
control .set ("foo" , "bar" );
73
69
assertEquals ("bar" , jedis .get ("foo" ));
74
70
control .flushAll ();
75
- // this ping is an attempt to gain a reasonable amount of time to let invalidation messsage shows up on CacheConnection
76
- control .ping ();
77
71
assertNull (jedis .get ("foo" ));
78
72
}
79
73
}
@@ -88,8 +82,6 @@ public void flushAllWithSimpleMap() {
88
82
assertEquals (1 , cache .getSize ());
89
83
control .flushAll ();
90
84
assertEquals (1 , cache .getSize ());
91
- // this ping is an attempt to gain a reasonable amount of time to let invalidation messsage shows up on CacheConnection
92
- control .ping ();
93
85
assertNull (jedis .get ("foo" ));
94
86
assertEquals (1 , cache .getSize ());
95
87
assertNull (jedis .get ("foo" ));
0 commit comments