/** {@inheritDoc} */ @Override protected void beforeTest() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); } }
/** {@inheritDoc} */ @Override protected void beforeTest() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.LOCAL_CACHE); } }
/** {@inheritDoc} */ @Override protected void beforeTest() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE); backups = DFLT_BACKUPS; partitions = DFLT_PARTITIONS; }
/** {@inheritDoc} */ @Override public void setUp() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.ENTRY_LOCK); MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.CACHE_EVENTS); super.setUp(); }
/** {@inheritDoc} */ @Override protected void beforeTest() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); if (nearEnabled()) MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE); }
/** {@inheritDoc} */ @Override protected void beforeTestsStarted() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.EXPIRATION); MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.EVICTION); super.beforeTestsStarted(); }
/** {@inheritDoc} */ @Override public void setUp() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); super.setUp(); }
/** {@inheritDoc} */ @Override protected void beforeTestsStarted() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.ENTRY_LOCK); super.beforeTestsStarted(); }
/** {@inheritDoc} */ @Override public void setUp() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE); super.setUp(); } }
/** {@inheritDoc} */ @Override protected void beforeTest() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE); MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); srv = startGrid("server"); client = startGrid("client"); }
/** {@inheritDoc} */ @Override public void setUp() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); super.setUp(); }
/** {@inheritDoc} */ @Override public void setUp() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE); super.setUp(); }
/** * @throws Exception If test failed. */ @Test public void testExternalClassesAtEvent() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.CACHE_EVENTS); testExternalClassesAtEvent0(false); }
/** @throws Exception If failed. */ @Test public void testPartitioned() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE); mode = PARTITIONED; nearEnabled = true; checkEvictionFilter(); }
/** {@inheritDoc} */ @Override protected void beforeTest() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.EXPIRATION); super.beforeTest(); cleanPersistenceDir(); }
/** {@inheritDoc} */ @Override public void setUp() throws Exception { Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-7388", MvccFeatureChecker.forcedMvcc()); if (nearEnabled()) MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE); super.setUp(); }
/** @throws Exception If failed. */ @Test public void testSeveralAsyncOpsLocal() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.LOCAL_CACHE); mode = CacheMode.LOCAL; try { checkReferenceCleanup(severalAsyncOpsCallable()); } finally { stopAllGrids(); } }
/** @throws Exception If failed. */ @Test public void testSyncOpAsyncCommitLocal() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.LOCAL_CACHE); mode = CacheMode.LOCAL; try { checkReferenceCleanup(syncOpAsyncCommitCallable()); } finally { stopAllGrids(); } }
/** @throws Exception If failed. */ @Test public void testAsyncOpsAsyncCommitLocal() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.LOCAL_CACHE); mode = CacheMode.LOCAL; try { checkReferenceCleanup(asyncOpsAsyncCommitCallable()); } finally { stopAllGrids(); } }
/** {@inheritDoc} */ @Override protected void beforeTest() throws Exception { MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.CACHE_EVENTS); Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-7952", MvccFeatureChecker.forcedMvcc()); for (Ignite g : G.allGrids()) g.cache(DEFAULT_CACHE_NAME).clear(); }