File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
modules/core/src/test/java/org/apache/ignite/client Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 6767import org .junit .runners .Parameterized ;
6868
6969import static java .util .Arrays .asList ;
70+ import static org .apache .ignite .cache .PartitionLossPolicy .READ_ONLY_SAFE ;
7071import static org .apache .ignite .events .EventType .EVTS_CACHE ;
7172import static org .apache .ignite .events .EventType .EVT_CACHE_OBJECT_READ ;
7273import static org .apache .ignite .events .EventType .EVT_CACHE_OBJECT_REMOVED ;
@@ -127,6 +128,7 @@ public void testFailover() throws Exception {
127128 final ClientCache <Integer , String > cache = client .getOrCreateCache (
128129 new ClientCacheConfiguration ()
129130 .setName ("testFailover" )
131+ .setPartitionLossPolicy (READ_ONLY_SAFE )
130132 .setCacheMode (CacheMode .REPLICATED )
131133 .setWriteSynchronizationMode (CacheWriteSynchronizationMode .FULL_SYNC )
132134 );
You can’t perform that action at this time.
0 commit comments