/** */ @Before public void beforeGridCacheNearMultiNodeSelfTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE); MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.ENTRY_LOCK); }
/** */ @Before public void beforeGridCacheEvictionEventAbstractTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.EVICTION); MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.CACHE_EVENTS); }
/** */ @Before public void beforeCacheConcurrentReadThroughTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); }
/** */ @Before public void beforeIgniteCacheTxLocalNoReadThroughTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.LOCAL_CACHE); }
/** */ @Before public void beforeIgniteCacheTxStoreSessionWriteBehindTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); }
/** {@inheritDoc} */ @Override protected CacheConfiguration cacheConfiguration(String igniteInstanceName) throws Exception { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.LOCAL_CACHE); return super.cacheConfiguration(igniteInstanceName); } }
/** {@inheritDoc} */ @Override protected void beforeTestsStarted() throws Exception { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.ENTRY_LOCK); super.beforeTestsStarted(); }
/** {@inheritDoc} */ @Override protected void beforeTestsStarted() throws Exception { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.CACHE_EVENTS); super.beforeTestsStarted(); }
/** */ @Before public void beforeGridCacheMultinodeUpdateNearEnabledSelfTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE); }
/** */ @Before public void beforeCacheStoreListenerRWThroughDisabledTransactionalCacheTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); }
/** */ @Before public void beforeGridCacheLocalBasicStoreSelfTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.LOCAL_CACHE); }
/** */ @Before public void beforeGridCacheNearOneNodeSelfTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE); }
/** */ @Before public void beforeCacheStoreSessionListenerLifecycleSelfTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); }
/** */ @Before public void beforeGridCacheWriteBehindStoreLocalTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.LOCAL_CACHE); }
/** {@inheritDoc} */ @Override protected final IgniteConfiguration getConfiguration() throws Exception { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.LOCAL_CACHE); return super.getConfiguration(); }
/** */ @Before public void beforeGridCacheMarshallingNodeJoinSelfTest() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); }
/** {@inheritDoc} */ @Override protected void beforeTest() throws Exception { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); startGridsMultiThreaded(2); }
/** {@inheritDoc} */ @Override protected void beforeTestsStarted() throws Exception { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.EVICTION); super.beforeTestsStarted(); }
/** * @return Cache configuration. */ protected CacheConfiguration cacheConfiguration() { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.ENTRY_LOCK); CacheConfiguration cacheCfg = defaultCacheConfiguration(); cacheCfg.setCacheMode(cacheMode()); cacheCfg.setWriteSynchronizationMode(FULL_ASYNC); cacheCfg.setRebalanceMode(SYNC); cacheCfg.setAtomicityMode(TRANSACTIONAL); return cacheCfg; }
/** {@inheritDoc} */ @Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception { MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.LOCAL_CACHE); IgniteConfiguration c = super.getConfiguration(igniteInstanceName); c.getTransactionConfiguration().setTxSerializableEnabled(true); CacheConfiguration ccfg = new CacheConfiguration(DEFAULT_CACHE_NAME); ccfg.setAtomicityMode(TRANSACTIONAL); ccfg.setCacheMode(LOCAL); ccfg.setWriteSynchronizationMode(FULL_SYNC); c.setCacheConfiguration(ccfg); return c; }