From b97f471e427cac1b3d7d78bd36729b669e08a2a6 Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Mon, 4 Jun 2018 12:11:31 +0300 Subject: [PATCH 01/13] ignite-8687 Add JCache TCK 1.1.0 to TC --- modules/core/pom.xml | 103 +++++++++++++++++++++++++++++++++++++++++++ parent/pom.xml | 1 + 2 files changed, 104 insertions(+) diff --git a/modules/core/pom.xml b/modules/core/pom.xml index ddb0b6059a0ee..b2c4f0d44d507 100644 --- a/modules/core/pom.xml +++ b/modules/core/pom.xml @@ -393,6 +393,109 @@ + + jcache-tck-1.1 + + + ${project.build.directory}/domainlib + domain.jar + + + + + javax.cache + cache-tests + ${javax.cache.tck.version.1.1} + + + + javax.cache + cache-tests + tests + ${javax.cache.tck.version.1.1} + test + + + + org.hamcrest + hamcrest-library + ${hamcrest.version} + test + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.8 + + + + copy-cache-tests + + unpack-dependencies + + + ${project.build.testOutputDirectory} + cache-tests + test + + + + copy-domain + + copy + + + + + javax.cache + app-domain + ${javax.cache.version} + ${domain-lib-dir} + ${domain-jar} + + + + + + + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + ${domain-lib-dir}/${domain-jar} + org.apache.ignite.internal.tck.TCKMBeanServerBuilder + IgniteMBeanServer + org.apache.ignite.cache.CacheManager + org.apache.ignite.IgniteCache + org.apache.ignite.internal.processors.cache.CacheEntryImpl + javax.cache.annotation.impl.cdi.CdiCacheKeyInvocationContextImpl + false + + + **/org/apache/ignite/**/*Test.java + **/annotation/*Test.java + **/ClientServerTest.java + + + + + + + jcache-tck diff --git a/parent/pom.xml b/parent/pom.xml index 0e547330b8112..ad1b1b6381f81 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -78,6 +78,7 @@ 2.6.5 3.20.0-GA 1.0.0_1 + 1.1.0 1.0.1 1.0.0 13.0 From 49995552a8e0a7a17c80dc14d7cb671c32f242b9 Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Thu, 7 Jun 2018 12:37:51 +0300 Subject: [PATCH 02/13] ignite-8714 CacheEntryEvent.getOldValue should be available --- .../cache/query/continuous/CacheContinuousQueryManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryManager.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryManager.java index 1cdc01491430f..aa762d526bb93 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryManager.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryManager.java @@ -379,7 +379,7 @@ public void onEntryUpdated( cctx.cacheId(), evtType, key, - newVal, + evtType == REMOVED && lsnr.oldValueRequired() ? oldVal : newVal, lsnr.oldValueRequired() ? oldVal : null, lsnr.keepBinary(), partId, @@ -441,7 +441,7 @@ public void onEntryExpired(GridCacheEntryEx e, KeyCacheObject key, CacheObject o cctx.cacheId(), EXPIRED, key, - null, + lsnr.oldValueRequired() ? oldVal : null, lsnr.oldValueRequired() ? oldVal : null, lsnr.keepBinary(), e.partition(), From 5ee1e4bebcd9106eef06f6a92782fa3c2444e107 Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Thu, 14 Jun 2018 13:05:40 +0300 Subject: [PATCH 03/13] Revert "ignite-8687 Add JCache TCK 1.1.0 to TC" --- modules/core/pom.xml | 103 ------------------------------------------- parent/pom.xml | 1 - 2 files changed, 104 deletions(-) diff --git a/modules/core/pom.xml b/modules/core/pom.xml index b2c4f0d44d507..ddb0b6059a0ee 100644 --- a/modules/core/pom.xml +++ b/modules/core/pom.xml @@ -393,109 +393,6 @@ - - jcache-tck-1.1 - - - ${project.build.directory}/domainlib - domain.jar - - - - - javax.cache - cache-tests - ${javax.cache.tck.version.1.1} - - - - javax.cache - cache-tests - tests - ${javax.cache.tck.version.1.1} - test - - - - org.hamcrest - hamcrest-library - ${hamcrest.version} - test - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - 2.8 - - - - copy-cache-tests - - unpack-dependencies - - - ${project.build.testOutputDirectory} - cache-tests - test - - - - copy-domain - - copy - - - - - javax.cache - app-domain - ${javax.cache.version} - ${domain-lib-dir} - ${domain-jar} - - - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - ${domain-lib-dir}/${domain-jar} - org.apache.ignite.internal.tck.TCKMBeanServerBuilder - IgniteMBeanServer - org.apache.ignite.cache.CacheManager - org.apache.ignite.IgniteCache - org.apache.ignite.internal.processors.cache.CacheEntryImpl - javax.cache.annotation.impl.cdi.CdiCacheKeyInvocationContextImpl - false - - - **/org/apache/ignite/**/*Test.java - **/annotation/*Test.java - **/ClientServerTest.java - - - - - - - jcache-tck diff --git a/parent/pom.xml b/parent/pom.xml index ad1b1b6381f81..0e547330b8112 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -78,7 +78,6 @@ 2.6.5 3.20.0-GA 1.0.0_1 - 1.1.0 1.0.1 1.0.0 13.0 From 522e7409cf0c8c78a390a93a63a45c8a4eb38502 Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Tue, 19 Jun 2018 13:35:59 +0300 Subject: [PATCH 04/13] ignite-8714 fix problems with ignite's tests --- .../IgniteCacheEntryListenerAbstractTest.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheEntryListenerAbstractTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheEntryListenerAbstractTest.java index e473d5238289b..578bf475567db 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheEntryListenerAbstractTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheEntryListenerAbstractTest.java @@ -314,7 +314,7 @@ private void awaitLatch() { syncEvent(key, null, cache, 1); - checkEvent(evts.iterator(), key, REMOVED, null, 2); + checkEvent(evts.iterator(), key, REMOVED, 2, 2); log.info("Check synchronous expire event [key=" + key + ']'); @@ -335,7 +335,7 @@ private void awaitLatch() { assertEquals(1, evts.size()); } - checkEvent(evts.iterator(), key, EXPIRED, null, 3); + checkEvent(evts.iterator(), key, EXPIRED, 3, 3); assertEquals(0, evts.size()); } @@ -764,7 +764,7 @@ private void checkFilter(final IgniteCache cache, Map cache, Map Date: Thu, 21 Jun 2018 11:55:33 +0300 Subject: [PATCH 05/13] temp commit --- .../cache/query/continuous/CacheContinuousQueryEvent.java | 7 +++++++ .../CacheContinuousWithTransformerReplicatedSelfTest.java | 5 ++++- .../GridCacheContinuousQueryAbstractSelfTest.java | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java index e66455499318a..94f2ff6921e65 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java @@ -18,6 +18,7 @@ package org.apache.ignite.internal.processors.cache.query.continuous; import javax.cache.Cache; +import javax.cache.event.EventType; import org.apache.ignite.cache.query.CacheQueryEntryEvent; import org.apache.ignite.internal.processors.cache.GridCacheContext; import org.apache.ignite.internal.util.tostring.GridToStringExclude; @@ -70,6 +71,12 @@ public int partitionId() { /** {@inheritDoc} */ @Override public V getValue() { + if (getEventType() == EventType.REMOVED || getEventType() == EventType.EXPIRED) { + assert e.value() == e.oldValue(); + + return getOldValue(); + } + return (V)cctx.cacheObjectContext().unwrapBinaryIfNeeded(e.value(), e.isKeepBinary(), false); } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java index 7b53fb28fcebf..16515f9274f96 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java @@ -319,7 +319,10 @@ public void testExpired() throws Exception { qry.setRemoteTransformerFactory(FactoryBuilder.factoryOf( new IgniteClosure, Integer>() { @Override public Integer apply(CacheEntryEvent evt) { - assertNull(evt.getValue()); + if (evt.getEventType() == EventType.REMOVED || evt.getEventType() == EventType.EXPIRED) + assertEquals(evt.getOldValue(), evt.getValue()); + else + assertNull(evt.getValue()); assertNotNull(evt.getOldValue()); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/GridCacheContinuousQueryAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/GridCacheContinuousQueryAbstractSelfTest.java index 61acf14d4c325..d5edd9ec6f053 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/GridCacheContinuousQueryAbstractSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/GridCacheContinuousQueryAbstractSelfTest.java @@ -1136,7 +1136,7 @@ public void testExpired() throws Exception { @Override public void onUpdated(Iterable> evts) { for (CacheEntryEvent e : evts) { if (e.getEventType() == EventType.EXPIRED) { - assertNull(e.getValue()); + assertEquals(e.getOldValue(), e.getValue()); map.put(e.getKey(), e.getOldValue()); From 6aebaab0e6916edf99f5cbc58eac0ae519ac49c0 Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Thu, 21 Jun 2018 12:55:46 +0300 Subject: [PATCH 06/13] fix problems with tests --- .../continuous/CacheContinuousQueryEvent.java | 35 ++++++++++++++++--- ...uousWithTransformerReplicatedSelfTest.java | 2 +- 2 files changed, 32 insertions(+), 5 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java index 94f2ff6921e65..b8dd39352c8cc 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java @@ -38,6 +38,12 @@ class CacheContinuousQueryEvent extends CacheQueryEntryEvent { @GridToStringExclude private final CacheContinuousQueryEntry e; + /** Store value for optimization by using benign races trick. */ + private volatile V val = null; + + /** Store old value for optimization by using benign races trick. */ + private volatile V oldVal = null; + /** * @param src Source cache. * @param cctx Cache context. @@ -71,18 +77,39 @@ public int partitionId() { /** {@inheritDoc} */ @Override public V getValue() { + if (e.value() == null) + return null; + + V locVal = val; + if (locVal != null) + return locVal; + if (getEventType() == EventType.REMOVED || getEventType() == EventType.EXPIRED) { assert e.value() == e.oldValue(); - - return getOldValue(); + + locVal = getOldValue(); } + else + locVal = (V) cctx.cacheObjectContext().unwrapBinaryIfNeeded(e.value(), e.isKeepBinary(), false); - return (V)cctx.cacheObjectContext().unwrapBinaryIfNeeded(e.value(), e.isKeepBinary(), false); + val = locVal; + + return locVal; } /** {@inheritDoc} */ @Override public V getOldValue() { - return (V)cctx.cacheObjectContext().unwrapBinaryIfNeeded(e.oldValue(), e.isKeepBinary(), false); + if (e.oldValue() == null) + return null; + + V locVal = oldVal; + if (locVal != null) + return locVal; + + locVal = (V) cctx.cacheObjectContext().unwrapBinaryIfNeeded(e.oldValue(), e.isKeepBinary(), false); + oldVal = locVal; + + return locVal; } /** {@inheritDoc} */ diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java index 16515f9274f96..8391a0ff9083e 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java @@ -320,7 +320,7 @@ public void testExpired() throws Exception { new IgniteClosure, Integer>() { @Override public Integer apply(CacheEntryEvent evt) { if (evt.getEventType() == EventType.REMOVED || evt.getEventType() == EventType.EXPIRED) - assertEquals(evt.getOldValue(), evt.getValue()); + assertNotNull(evt.getValue()); else assertNull(evt.getValue()); From d99843d3704ee2fefe439e84f3aaaa1c48c2f06e Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Thu, 21 Jun 2018 15:25:32 +0300 Subject: [PATCH 07/13] fix our tests --- .../cache/query/continuous/CacheContinuousQueryEvent.java | 8 +------- .../CacheContinuousWithTransformerReplicatedSelfTest.java | 5 +---- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java index b8dd39352c8cc..2ae5483ea0a2e 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEvent.java @@ -84,13 +84,7 @@ public int partitionId() { if (locVal != null) return locVal; - if (getEventType() == EventType.REMOVED || getEventType() == EventType.EXPIRED) { - assert e.value() == e.oldValue(); - - locVal = getOldValue(); - } - else - locVal = (V) cctx.cacheObjectContext().unwrapBinaryIfNeeded(e.value(), e.isKeepBinary(), false); + locVal = (V) cctx.cacheObjectContext().unwrapBinaryIfNeeded(e.value(), e.isKeepBinary(), false); val = locVal; diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java index 8391a0ff9083e..7aa91a21ad4fa 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousWithTransformerReplicatedSelfTest.java @@ -319,10 +319,7 @@ public void testExpired() throws Exception { qry.setRemoteTransformerFactory(FactoryBuilder.factoryOf( new IgniteClosure, Integer>() { @Override public Integer apply(CacheEntryEvent evt) { - if (evt.getEventType() == EventType.REMOVED || evt.getEventType() == EventType.EXPIRED) - assertNotNull(evt.getValue()); - else - assertNull(evt.getValue()); + assertNotNull(evt.getValue()); assertNotNull(evt.getOldValue()); From fb40598737ece310c664933c66b28b112f9ee701 Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Thu, 21 Jun 2018 19:09:07 +0300 Subject: [PATCH 08/13] fix prblms with tests --- .../Cache/Query/Continuous/ContinuousQueryAbstractTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryAbstractTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryAbstractTest.cs index 2df2f358e41b6..39e5e316fde67 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryAbstractTest.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Continuous/ContinuousQueryAbstractTest.cs @@ -217,7 +217,7 @@ protected void CheckCallback(bool loc) CheckCallbackSingle(key1, Entry(key1), Entry(key1 + 1), CacheEntryEventType.Updated); cache1.Remove(key1); - CheckCallbackSingle(key1, Entry(key1 + 1), null, CacheEntryEventType.Removed); + CheckCallbackSingle(key1, Entry(key1 + 1), Entry(key1 + 1), CacheEntryEventType.Removed); // Put from remote node. cache2.GetAndPut(key2, Entry(key2)); @@ -239,7 +239,7 @@ protected void CheckCallback(bool loc) if (loc) CheckNoCallback(100); else - CheckCallbackSingle(key2, Entry(key2 + 1), null, CacheEntryEventType.Removed); + CheckCallbackSingle(key2, Entry(key2 + 1), Entry(key2 + 1), CacheEntryEventType.Removed); } cache1.Put(key1, Entry(key1)); From 8bdde88161e72f88e0f93ac33883338c9e4c7801 Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Fri, 22 Jun 2018 14:31:12 +0300 Subject: [PATCH 09/13] fx pr t --- .../CacheContinuousQueryFactoryFilterRandomOperationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFactoryFilterRandomOperationTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFactoryFilterRandomOperationTest.java index 69799ef7f9838..8d20883d0b126 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFactoryFilterRandomOperationTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFactoryFilterRandomOperationTest.java @@ -319,7 +319,7 @@ private void randomUpdate( updatePartitionCounter(cache, key, partCntr); - waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, null, oldVal); + waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, oldVal, oldVal); expData.remove(key); @@ -334,7 +334,7 @@ private void randomUpdate( updatePartitionCounter(cache, key, partCntr); - waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, null, oldVal); + waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, oldVal, oldVal); expData.remove(key); From 45b5ad1f139d5bd20a87f48d2e0a24804acaab5a Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Fri, 22 Jun 2018 15:50:05 +0300 Subject: [PATCH 10/13] tempcmt1 --- ...nuousQueryFactoryFilterRandomOperationTest.java | 14 +++++++++----- .../CacheContinuousQueryRandomOperationsTest.java | 9 +++++---- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFactoryFilterRandomOperationTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFactoryFilterRandomOperationTest.java index 8d20883d0b126..f14a58a949504 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFactoryFilterRandomOperationTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryFactoryFilterRandomOperationTest.java @@ -349,7 +349,8 @@ private void randomUpdate( updatePartitionCounter(cache, key, partCntr); - waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, newVal, oldVal); + waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, + newVal == null ? oldVal : newVal, oldVal); expData.put(key, newVal); @@ -364,7 +365,7 @@ private void randomUpdate( updatePartitionCounter(cache, key, partCntr); - waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, null, oldVal); + waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, oldVal, oldVal); expData.remove(key); @@ -418,7 +419,8 @@ private void randomUpdate( if (oldVal != null) { updatePartitionCounter(cache, key, partCntr); - waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, newVal, oldVal); + waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, + newVal == null ? oldVal : newVal, oldVal); expData.put(key, newVal); } @@ -437,7 +439,8 @@ private void randomUpdate( if (oldVal != null) { updatePartitionCounter(cache, key, partCntr); - waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, newVal, oldVal); + waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, + newVal == null ? oldVal : newVal, oldVal); expData.put(key, newVal); } @@ -461,7 +464,8 @@ private void randomUpdate( updatePartitionCounter(cache, key, partCntr); - waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, newVal, oldVal); + waitAndCheckEvent(evtsQueues, partCntr, affinity(cache), key, + newVal == null ? oldVal : newVal, oldVal); expData.put(key, newVal); } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryRandomOperationsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryRandomOperationsTest.java index 1c6bd8cb8baa0..1fcde78a967bd 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryRandomOperationsTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryRandomOperationsTest.java @@ -81,6 +81,7 @@ import static java.util.concurrent.TimeUnit.SECONDS; import static javax.cache.event.EventType.CREATED; import static javax.cache.event.EventType.REMOVED; +import static javax.cache.event.EventType.UPDATED; import static org.apache.ignite.cache.CacheAtomicityMode.ATOMIC; import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL; import static org.apache.ignite.cache.CacheMode.PARTITIONED; @@ -554,12 +555,12 @@ else if (qry instanceof ContinuousQueryWithTransformer) }, 5_000); checkSingleEvent(evts.get(0), CREATED, new QueryTestValue(1), null); - checkSingleEvent(evts.get(1), REMOVED, null, new QueryTestValue(1)); + checkSingleEvent(evts.get(1), REMOVED, new QueryTestValue(1), new QueryTestValue(1)); checkSingleEvent(evts.get(2), CREATED, new QueryTestValue(2), null); - checkSingleEvent(evts.get(3), REMOVED, null, new QueryTestValue(2)); + checkSingleEvent(evts.get(3), REMOVED, new QueryTestValue(2), new QueryTestValue(2)); checkSingleEvent(evts.get(4), CREATED, new QueryTestValue(3), null); checkSingleEvent(evts.get(5), EventType.UPDATED, new QueryTestValue(4), new QueryTestValue(3)); - checkSingleEvent(evts.get(6), REMOVED, null, new QueryTestValue(4)); + checkSingleEvent(evts.get(6), REMOVED, new QueryTestValue(4), new QueryTestValue(4)); checkSingleEvent(evts.get(7), CREATED, new QueryTestValue(5), null); checkSingleEvent(evts.get(8), EventType.UPDATED, new QueryTestValue(6), new QueryTestValue(5)); @@ -699,7 +700,7 @@ private void checkEvents(List Date: Fri, 22 Jun 2018 18:35:50 +0300 Subject: [PATCH 11/13] tmp cmt --- .../CacheContinuousQueryRandomOperationsTest.java | 6 +++--- .../CacheContinuousQueryVariationsTest.java | 12 ++++++------ .../GridCacheContinuousQueryAbstractSelfTest.java | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryRandomOperationsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryRandomOperationsTest.java index 1fcde78a967bd..6d15df2d79700 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryRandomOperationsTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryRandomOperationsTest.java @@ -1033,7 +1033,7 @@ private void randomUpdate( updatePartitionCounter(cache, key, partCntr, expEvtCntrs); - waitAndCheckEvent(evtsQueues, partCntr, expEvtCntrs, affinity(cache), key, null, oldVal); + waitAndCheckEvent(evtsQueues, partCntr, expEvtCntrs, affinity(cache), key, oldVal, oldVal); expData.remove(key); @@ -1048,7 +1048,7 @@ private void randomUpdate( updatePartitionCounter(cache, key, partCntr, expEvtCntrs); - waitAndCheckEvent(evtsQueues, partCntr, expEvtCntrs, affinity(cache), key, null, oldVal); + waitAndCheckEvent(evtsQueues, partCntr, expEvtCntrs, affinity(cache), key, oldVal, oldVal); expData.remove(key); @@ -1078,7 +1078,7 @@ private void randomUpdate( updatePartitionCounter(cache, key, partCntr, expEvtCntrs); - waitAndCheckEvent(evtsQueues, partCntr, expEvtCntrs, affinity(cache), key, null, oldVal); + waitAndCheckEvent(evtsQueues, partCntr, expEvtCntrs, affinity(cache), key, oldVal, oldVal); expData.remove(key); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryVariationsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryVariationsTest.java index ab086bc463fa2..fc86a35c16ed3 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryVariationsTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryVariationsTest.java @@ -362,7 +362,7 @@ private void randomUpdate( if (tx != null) tx.commit(); - waitAndCheckEvent(evtsQueues, key, null, oldVal, keepBinary, withFilter); + waitAndCheckEvent(evtsQueues, key, oldVal, oldVal, keepBinary, withFilter); expData.remove(key); @@ -375,7 +375,7 @@ private void randomUpdate( if (tx != null) tx.commit(); - waitAndCheckEvent(evtsQueues, key, null, oldVal, keepBinary, withFilter); + waitAndCheckEvent(evtsQueues, key, oldVal, oldVal, keepBinary, withFilter); expData.remove(key); @@ -401,7 +401,7 @@ private void randomUpdate( if (tx != null) tx.commit(); - waitAndCheckEvent(evtsQueues, key, null, oldVal, keepBinary, withFilter); + waitAndCheckEvent(evtsQueues, key, oldVal, oldVal, keepBinary, withFilter); expData.remove(key); @@ -701,12 +701,12 @@ public void testRemoveRemoveScenario() throws Exception { }, 5_000); checkEvent(evts.get(0), CREATED, value(1), null); - checkEvent(evts.get(1), REMOVED, null, value(1)); + checkEvent(evts.get(1), REMOVED, value(1), value(1)); checkEvent(evts.get(2), CREATED, value(2), null); - checkEvent(evts.get(3), REMOVED, null, value(2)); + checkEvent(evts.get(3), REMOVED, value(2), value(2)); checkEvent(evts.get(4), CREATED, value(3), null); checkEvent(evts.get(5), EventType.UPDATED, value(4), value(3)); - checkEvent(evts.get(6), REMOVED, null, value(4)); + checkEvent(evts.get(6), REMOVED, value(4), value(4)); checkEvent(evts.get(7), CREATED, value(5), null); checkEvent(evts.get(8), EventType.UPDATED, value(6), value(5)); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/GridCacheContinuousQueryAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/GridCacheContinuousQueryAbstractSelfTest.java index d5edd9ec6f053..d09aea3ea474c 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/GridCacheContinuousQueryAbstractSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/GridCacheContinuousQueryAbstractSelfTest.java @@ -338,7 +338,7 @@ public void testAllEntries() throws Exception { assertNotNull(vals); assertEquals(2, vals.size()); assertEquals(2, (int)vals.get(0)); - assertNull(vals.get(1)); + assertEquals(2, (int)vals.get(1)); vals = map.get(3); @@ -564,7 +564,7 @@ public void testEntriesByFilter() throws Exception { assertNotNull(vals); assertEquals(2, vals.size()); assertEquals(3, (int)vals.get(0)); - assertNull(vals.get(1)); + assertEquals(3, (int)vals.get(1)); vals = map.get(4); From 200111a7e16c44941745c2a1a74c5f9e5ff4fe58 Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Wed, 27 Jun 2018 14:24:00 +0300 Subject: [PATCH 12/13] fix hang --- .../out.txt | 181 ++++++++++++++++++ .../out2.txt | 180 +++++++++++++++++ 2 files changed, 361 insertions(+) create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out.txt create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out2.txt diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out.txt b/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out.txt new file mode 100644 index 0000000000000..bff3ca6bd3eda --- /dev/null +++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out.txt @@ -0,0 +1,181 @@ +Failed TestDotNetSpecificSerializable +Failed TestAggregates +Failed TestAliases +Failed TestCompiledQuery +Failed TestCompiledQueryFreeform +Failed TestCompiledQueryOverloads +Failed TestConditions +Failed TestContains +Failed TestCrossCacheJoin +Failed TestCrossCacheJoinInline +Failed TestDateTime +Failed TestDistributedJoins +Failed TestExcept +Failed TestFieldProjection +Failed TestGroupBy +Failed TestGroupBySubquery +Failed TestIntersect +Failed TestIntrospection +Failed TestInvalidJoin +Failed TestLocalJoin +Failed TestMultiCacheJoin +Failed TestMultiCacheJoinSubquery +Failed TestMultiFieldQuery +Failed TestMultiKeyJoin +Failed TestMultiKeyJoinInline +Failed TestMultipleFrom +Failed TestMultipleFromSubquery +Failed TestNulls +Failed TestNumerics +Failed TestOrdering +Failed TestOuterJoin +Failed TestPrimitiveCache +Failed TestRemoveAll +Failed TestSameCacheJoin +Failed TestScalarQuery +Failed TestSelfJoin +Failed TestSelfJoinInline +Failed TestSingleFieldQuery +Failed TestStrings +Failed TestSubqueryJoin +Failed TestTableNameInference +Failed TestTwoFromSubquery +Failed TestUnion +Failed TestUpdateAllUnconditional +Failed TestUpdateAllUnsupported +Failed TestUpdateAllWithCondition +Failed TestWhere +Failed TestAggregates +Failed TestAliases +Failed TestCompiledQuery +Failed TestCompiledQueryFreeform +Failed TestCompiledQueryOverloads +Failed TestConditions +Failed TestContains +Failed TestCrossCacheJoin +Failed TestCrossCacheJoinInline +Failed TestDateTime +Failed TestDistributedJoins +Failed TestExcept +Failed TestFieldProjection +Failed TestGroupBy +Failed TestGroupBySubquery +Failed TestIntersect +Failed TestIntrospection +Failed TestInvalidJoin +Failed TestLocalJoin +Failed TestMultiCacheJoin +Failed TestMultiCacheJoinSubquery +Failed TestMultiFieldQuery +Failed TestMultiKeyJoin +Failed TestMultiKeyJoinInline +Failed TestMultipleFrom +Failed TestMultipleFromSubquery +Failed TestNulls +Failed TestNumerics +Failed TestOrdering +Failed TestOuterJoin +Failed TestPrimitiveCache +Failed TestRemoveAll +Failed TestSameCacheJoin +Failed TestScalarQuery +Failed TestSelfJoin +Failed TestSelfJoinInline +Failed TestSingleFieldQuery +Failed TestStrings +Failed TestSubqueryJoin +Failed TestTableNameInference +Failed TestTwoFromSubquery +Failed TestUnion +Failed TestUpdateAllUnconditional +Failed TestUpdateAllUnsupported +Failed TestUpdateAllWithCondition +Failed TestWhere +Failed TestAggregates +Failed TestAliases +Failed TestCompiledQuery +Failed TestCompiledQueryFreeform +Failed TestCompiledQueryOverloads +Failed TestConditions +Failed TestContains +Failed TestCrossCacheJoin +Failed TestCrossCacheJoinInline +Failed TestDateTime +Failed TestDistributedJoins +Failed TestExcept +Failed TestFieldProjection +Failed TestGroupBy +Failed TestGroupBySubquery +Failed TestIntersect +Failed TestIntrospection +Failed TestInvalidJoin +Failed TestLocalJoin +Failed TestMultiCacheJoin +Failed TestMultiCacheJoinSubquery +Failed TestMultiFieldQuery +Failed TestMultiKeyJoin +Failed TestMultiKeyJoinInline +Failed TestMultipleFrom +Failed TestMultipleFromSubquery +Failed TestNulls +Failed TestNumerics +Failed TestOrdering +Failed TestOuterJoin +Failed TestPrimitiveCache +Failed TestRemoveAll +Failed TestSameCacheJoin +Failed TestScalarQuery +Failed TestSelfJoin +Failed TestSelfJoinInline +Failed TestSingleFieldQuery +Failed TestStrings +Failed TestSubqueryJoin +Failed TestTableNameInference +Failed TestTwoFromSubquery +Failed TestUnion +Failed TestUpdateAllUnconditional +Failed TestUpdateAllUnsupported +Failed TestUpdateAllWithCondition +Failed TestWhere +Failed TestBasicQueries +Failed TestCompiledQuery +Failed TestDml +Failed TestJoins +Failed TestClientDisposeWhileOperationsAreInProgress + [10:30:49] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). +Failed TestCancel +Failed TestDeployAll(True) +Failed TestDeployAllException(True) +Failed TestDeployAllInputErrors +Failed TestDeployException(True) +Failed TestDeploymentExceptionSerializable +Failed TestDeployMultipleException(True) +Failed TestDuckTyping(True) +Failed TestFooterSetting +Failed TestGetDynamicServiceProxy + [10:32:48] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:32:48] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:32:48] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). +Failed TestGetServiceProxy(True) +Failed TestGetServiceProxy(False) + [10:32:52] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:32:52] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:32:52] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). +Failed TestCancel +Failed TestDeployAll(True) +Failed TestDeployAllException(True) +Failed TestDeployAllInputErrors +Failed TestDeploymentExceptionSerializable +Failed TestDeployMultipleException(True) +Failed TestDuckTyping(True) +Failed TestFooterSetting +Failed TestGetDynamicServiceProxy + [10:33:11] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:33:11] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:33:11] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). +Failed TestGetServiceProxy(True) +Failed TestGetServiceProxy(False) + [10:33:14] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:33:14] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:33:14] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). +Total tests: 969. Passed: 792. Failed: 167. Skipped: 10. diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out2.txt b/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out2.txt new file mode 100644 index 0000000000000..c09824279d248 --- /dev/null +++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out2.txt @@ -0,0 +1,180 @@ +Failed TestDotNetSpecificSerializable +Failed TestAggregates +Failed TestAliases +Failed TestCompiledQuery +Failed TestCompiledQueryFreeform +Failed TestCompiledQueryOverloads +Failed TestConditions +Failed TestContains +Failed TestCrossCacheJoin +Failed TestCrossCacheJoinInline +Failed TestDateTime +Failed TestDistributedJoins +Failed TestExcept +Failed TestFieldProjection +Failed TestGroupBy +Failed TestGroupBySubquery +Failed TestIntersect +Failed TestIntrospection +Failed TestInvalidJoin +Failed TestLocalJoin +Failed TestMultiCacheJoin +Failed TestMultiCacheJoinSubquery +Failed TestMultiFieldQuery +Failed TestMultiKeyJoin +Failed TestMultiKeyJoinInline +Failed TestMultipleFrom +Failed TestMultipleFromSubquery +Failed TestNulls +Failed TestNumerics +Failed TestOrdering +Failed TestOuterJoin +Failed TestPrimitiveCache +Failed TestRemoveAll +Failed TestSameCacheJoin +Failed TestScalarQuery +Failed TestSelfJoin +Failed TestSelfJoinInline +Failed TestSingleFieldQuery +Failed TestStrings +Failed TestSubqueryJoin +Failed TestTableNameInference +Failed TestTwoFromSubquery +Failed TestUnion +Failed TestUpdateAllUnconditional +Failed TestUpdateAllUnsupported +Failed TestUpdateAllWithCondition +Failed TestWhere +Failed TestAggregates +Failed TestAliases +Failed TestCompiledQuery +Failed TestCompiledQueryFreeform +Failed TestCompiledQueryOverloads +Failed TestConditions +Failed TestContains +Failed TestCrossCacheJoin +Failed TestCrossCacheJoinInline +Failed TestDateTime +Failed TestDistributedJoins +Failed TestExcept +Failed TestFieldProjection +Failed TestGroupBy +Failed TestGroupBySubquery +Failed TestIntersect +Failed TestIntrospection +Failed TestInvalidJoin +Failed TestLocalJoin +Failed TestMultiCacheJoin +Failed TestMultiCacheJoinSubquery +Failed TestMultiFieldQuery +Failed TestMultiKeyJoin +Failed TestMultiKeyJoinInline +Failed TestMultipleFrom +Failed TestMultipleFromSubquery +Failed TestNulls +Failed TestNumerics +Failed TestOrdering +Failed TestOuterJoin +Failed TestPrimitiveCache +Failed TestRemoveAll +Failed TestSameCacheJoin +Failed TestScalarQuery +Failed TestSelfJoin +Failed TestSelfJoinInline +Failed TestSingleFieldQuery +Failed TestStrings +Failed TestSubqueryJoin +Failed TestTableNameInference +Failed TestTwoFromSubquery +Failed TestUnion +Failed TestUpdateAllUnconditional +Failed TestUpdateAllUnsupported +Failed TestUpdateAllWithCondition +Failed TestWhere +Failed TestAggregates +Failed TestAliases +Failed TestCompiledQuery +Failed TestCompiledQueryFreeform +Failed TestCompiledQueryOverloads +Failed TestConditions +Failed TestContains +Failed TestCrossCacheJoin +Failed TestCrossCacheJoinInline +Failed TestDateTime +Failed TestDistributedJoins +Failed TestExcept +Failed TestFieldProjection +Failed TestGroupBy +Failed TestGroupBySubquery +Failed TestIntersect +Failed TestIntrospection +Failed TestInvalidJoin +Failed TestLocalJoin +Failed TestMultiCacheJoin +Failed TestMultiCacheJoinSubquery +Failed TestMultiFieldQuery +Failed TestMultiKeyJoin +Failed TestMultiKeyJoinInline +Failed TestMultipleFrom +Failed TestMultipleFromSubquery +Failed TestNulls +Failed TestNumerics +Failed TestOrdering +Failed TestOuterJoin +Failed TestPrimitiveCache +Failed TestRemoveAll +Failed TestSameCacheJoin +Failed TestScalarQuery +Failed TestSelfJoin +Failed TestSelfJoinInline +Failed TestSingleFieldQuery +Failed TestStrings +Failed TestSubqueryJoin +Failed TestTableNameInference +Failed TestTwoFromSubquery +Failed TestUnion +Failed TestUpdateAllUnconditional +Failed TestUpdateAllUnsupported +Failed TestUpdateAllWithCondition +Failed TestWhere +Failed TestBasicQueries +Failed TestCompiledQuery +Failed TestDml +Failed TestJoins +Failed TestClientDisposeWhileOperationsAreInProgress + [10:41:44] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). +Failed TestCancel +Failed TestDeployAll(True) +Failed TestDeployAllException(True) +Failed TestDeployAllException(False) +Failed TestDeploymentExceptionSerializable +Failed TestDeployMultipleException(True) +Failed TestDuckTyping(True) +Failed TestFooterSetting +Failed TestGetDynamicServiceProxy + [10:43:42] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:43:43] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:43:43] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). +Failed TestGetServiceProxy(True) +Failed TestGetServiceProxy(False) + [10:43:46] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:43:46] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:43:46] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). +Failed TestCancel +Failed TestDeployAll(True) +Failed TestDeployAllException(True) +Failed TestDeployAllInputErrors +Failed TestDeploymentExceptionSerializable +Failed TestDeployMultipleException(True) +Failed TestDuckTyping(True) +Failed TestFooterSetting +Failed TestGetDynamicServiceProxy + [10:44:05] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:44:05] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:44:05] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). +Failed TestGetServiceProxy(True) +Failed TestGetServiceProxy(False) + [10:44:08] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:44:08] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). + [10:44:09] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). +Total tests: 969. Passed: 793. Failed: 166. Skipped: 10. From 572b50c0f36c67011c2f10078a797af495022fac Mon Sep 17 00:00:00 2001 From: Alexander Menshikov Date: Wed, 27 Jun 2018 19:49:53 +0300 Subject: [PATCH 13/13] remove temp files --- .../out.txt | 181 ------------------ .../out2.txt | 180 ----------------- 2 files changed, 361 deletions(-) delete mode 100644 modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out.txt delete mode 100644 modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out2.txt diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out.txt b/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out.txt deleted file mode 100644 index bff3ca6bd3eda..0000000000000 --- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out.txt +++ /dev/null @@ -1,181 +0,0 @@ -Failed TestDotNetSpecificSerializable -Failed TestAggregates -Failed TestAliases -Failed TestCompiledQuery -Failed TestCompiledQueryFreeform -Failed TestCompiledQueryOverloads -Failed TestConditions -Failed TestContains -Failed TestCrossCacheJoin -Failed TestCrossCacheJoinInline -Failed TestDateTime -Failed TestDistributedJoins -Failed TestExcept -Failed TestFieldProjection -Failed TestGroupBy -Failed TestGroupBySubquery -Failed TestIntersect -Failed TestIntrospection -Failed TestInvalidJoin -Failed TestLocalJoin -Failed TestMultiCacheJoin -Failed TestMultiCacheJoinSubquery -Failed TestMultiFieldQuery -Failed TestMultiKeyJoin -Failed TestMultiKeyJoinInline -Failed TestMultipleFrom -Failed TestMultipleFromSubquery -Failed TestNulls -Failed TestNumerics -Failed TestOrdering -Failed TestOuterJoin -Failed TestPrimitiveCache -Failed TestRemoveAll -Failed TestSameCacheJoin -Failed TestScalarQuery -Failed TestSelfJoin -Failed TestSelfJoinInline -Failed TestSingleFieldQuery -Failed TestStrings -Failed TestSubqueryJoin -Failed TestTableNameInference -Failed TestTwoFromSubquery -Failed TestUnion -Failed TestUpdateAllUnconditional -Failed TestUpdateAllUnsupported -Failed TestUpdateAllWithCondition -Failed TestWhere -Failed TestAggregates -Failed TestAliases -Failed TestCompiledQuery -Failed TestCompiledQueryFreeform -Failed TestCompiledQueryOverloads -Failed TestConditions -Failed TestContains -Failed TestCrossCacheJoin -Failed TestCrossCacheJoinInline -Failed TestDateTime -Failed TestDistributedJoins -Failed TestExcept -Failed TestFieldProjection -Failed TestGroupBy -Failed TestGroupBySubquery -Failed TestIntersect -Failed TestIntrospection -Failed TestInvalidJoin -Failed TestLocalJoin -Failed TestMultiCacheJoin -Failed TestMultiCacheJoinSubquery -Failed TestMultiFieldQuery -Failed TestMultiKeyJoin -Failed TestMultiKeyJoinInline -Failed TestMultipleFrom -Failed TestMultipleFromSubquery -Failed TestNulls -Failed TestNumerics -Failed TestOrdering -Failed TestOuterJoin -Failed TestPrimitiveCache -Failed TestRemoveAll -Failed TestSameCacheJoin -Failed TestScalarQuery -Failed TestSelfJoin -Failed TestSelfJoinInline -Failed TestSingleFieldQuery -Failed TestStrings -Failed TestSubqueryJoin -Failed TestTableNameInference -Failed TestTwoFromSubquery -Failed TestUnion -Failed TestUpdateAllUnconditional -Failed TestUpdateAllUnsupported -Failed TestUpdateAllWithCondition -Failed TestWhere -Failed TestAggregates -Failed TestAliases -Failed TestCompiledQuery -Failed TestCompiledQueryFreeform -Failed TestCompiledQueryOverloads -Failed TestConditions -Failed TestContains -Failed TestCrossCacheJoin -Failed TestCrossCacheJoinInline -Failed TestDateTime -Failed TestDistributedJoins -Failed TestExcept -Failed TestFieldProjection -Failed TestGroupBy -Failed TestGroupBySubquery -Failed TestIntersect -Failed TestIntrospection -Failed TestInvalidJoin -Failed TestLocalJoin -Failed TestMultiCacheJoin -Failed TestMultiCacheJoinSubquery -Failed TestMultiFieldQuery -Failed TestMultiKeyJoin -Failed TestMultiKeyJoinInline -Failed TestMultipleFrom -Failed TestMultipleFromSubquery -Failed TestNulls -Failed TestNumerics -Failed TestOrdering -Failed TestOuterJoin -Failed TestPrimitiveCache -Failed TestRemoveAll -Failed TestSameCacheJoin -Failed TestScalarQuery -Failed TestSelfJoin -Failed TestSelfJoinInline -Failed TestSingleFieldQuery -Failed TestStrings -Failed TestSubqueryJoin -Failed TestTableNameInference -Failed TestTwoFromSubquery -Failed TestUnion -Failed TestUpdateAllUnconditional -Failed TestUpdateAllUnsupported -Failed TestUpdateAllWithCondition -Failed TestWhere -Failed TestBasicQueries -Failed TestCompiledQuery -Failed TestDml -Failed TestJoins -Failed TestClientDisposeWhileOperationsAreInProgress - [10:30:49] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). -Failed TestCancel -Failed TestDeployAll(True) -Failed TestDeployAllException(True) -Failed TestDeployAllInputErrors -Failed TestDeployException(True) -Failed TestDeploymentExceptionSerializable -Failed TestDeployMultipleException(True) -Failed TestDuckTyping(True) -Failed TestFooterSetting -Failed TestGetDynamicServiceProxy - [10:32:48] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:32:48] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:32:48] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). -Failed TestGetServiceProxy(True) -Failed TestGetServiceProxy(False) - [10:32:52] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:32:52] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:32:52] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). -Failed TestCancel -Failed TestDeployAll(True) -Failed TestDeployAllException(True) -Failed TestDeployAllInputErrors -Failed TestDeploymentExceptionSerializable -Failed TestDeployMultipleException(True) -Failed TestDuckTyping(True) -Failed TestFooterSetting -Failed TestGetDynamicServiceProxy - [10:33:11] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:33:11] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:33:11] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). -Failed TestGetServiceProxy(True) -Failed TestGetServiceProxy(False) - [10:33:14] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:33:14] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:33:14] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). -Total tests: 969. Passed: 792. Failed: 167. Skipped: 10. diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out2.txt b/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out2.txt deleted file mode 100644 index c09824279d248..0000000000000 --- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore/out2.txt +++ /dev/null @@ -1,180 +0,0 @@ -Failed TestDotNetSpecificSerializable -Failed TestAggregates -Failed TestAliases -Failed TestCompiledQuery -Failed TestCompiledQueryFreeform -Failed TestCompiledQueryOverloads -Failed TestConditions -Failed TestContains -Failed TestCrossCacheJoin -Failed TestCrossCacheJoinInline -Failed TestDateTime -Failed TestDistributedJoins -Failed TestExcept -Failed TestFieldProjection -Failed TestGroupBy -Failed TestGroupBySubquery -Failed TestIntersect -Failed TestIntrospection -Failed TestInvalidJoin -Failed TestLocalJoin -Failed TestMultiCacheJoin -Failed TestMultiCacheJoinSubquery -Failed TestMultiFieldQuery -Failed TestMultiKeyJoin -Failed TestMultiKeyJoinInline -Failed TestMultipleFrom -Failed TestMultipleFromSubquery -Failed TestNulls -Failed TestNumerics -Failed TestOrdering -Failed TestOuterJoin -Failed TestPrimitiveCache -Failed TestRemoveAll -Failed TestSameCacheJoin -Failed TestScalarQuery -Failed TestSelfJoin -Failed TestSelfJoinInline -Failed TestSingleFieldQuery -Failed TestStrings -Failed TestSubqueryJoin -Failed TestTableNameInference -Failed TestTwoFromSubquery -Failed TestUnion -Failed TestUpdateAllUnconditional -Failed TestUpdateAllUnsupported -Failed TestUpdateAllWithCondition -Failed TestWhere -Failed TestAggregates -Failed TestAliases -Failed TestCompiledQuery -Failed TestCompiledQueryFreeform -Failed TestCompiledQueryOverloads -Failed TestConditions -Failed TestContains -Failed TestCrossCacheJoin -Failed TestCrossCacheJoinInline -Failed TestDateTime -Failed TestDistributedJoins -Failed TestExcept -Failed TestFieldProjection -Failed TestGroupBy -Failed TestGroupBySubquery -Failed TestIntersect -Failed TestIntrospection -Failed TestInvalidJoin -Failed TestLocalJoin -Failed TestMultiCacheJoin -Failed TestMultiCacheJoinSubquery -Failed TestMultiFieldQuery -Failed TestMultiKeyJoin -Failed TestMultiKeyJoinInline -Failed TestMultipleFrom -Failed TestMultipleFromSubquery -Failed TestNulls -Failed TestNumerics -Failed TestOrdering -Failed TestOuterJoin -Failed TestPrimitiveCache -Failed TestRemoveAll -Failed TestSameCacheJoin -Failed TestScalarQuery -Failed TestSelfJoin -Failed TestSelfJoinInline -Failed TestSingleFieldQuery -Failed TestStrings -Failed TestSubqueryJoin -Failed TestTableNameInference -Failed TestTwoFromSubquery -Failed TestUnion -Failed TestUpdateAllUnconditional -Failed TestUpdateAllUnsupported -Failed TestUpdateAllWithCondition -Failed TestWhere -Failed TestAggregates -Failed TestAliases -Failed TestCompiledQuery -Failed TestCompiledQueryFreeform -Failed TestCompiledQueryOverloads -Failed TestConditions -Failed TestContains -Failed TestCrossCacheJoin -Failed TestCrossCacheJoinInline -Failed TestDateTime -Failed TestDistributedJoins -Failed TestExcept -Failed TestFieldProjection -Failed TestGroupBy -Failed TestGroupBySubquery -Failed TestIntersect -Failed TestIntrospection -Failed TestInvalidJoin -Failed TestLocalJoin -Failed TestMultiCacheJoin -Failed TestMultiCacheJoinSubquery -Failed TestMultiFieldQuery -Failed TestMultiKeyJoin -Failed TestMultiKeyJoinInline -Failed TestMultipleFrom -Failed TestMultipleFromSubquery -Failed TestNulls -Failed TestNumerics -Failed TestOrdering -Failed TestOuterJoin -Failed TestPrimitiveCache -Failed TestRemoveAll -Failed TestSameCacheJoin -Failed TestScalarQuery -Failed TestSelfJoin -Failed TestSelfJoinInline -Failed TestSingleFieldQuery -Failed TestStrings -Failed TestSubqueryJoin -Failed TestTableNameInference -Failed TestTwoFromSubquery -Failed TestUnion -Failed TestUpdateAllUnconditional -Failed TestUpdateAllUnsupported -Failed TestUpdateAllWithCondition -Failed TestWhere -Failed TestBasicQueries -Failed TestCompiledQuery -Failed TestDml -Failed TestJoins -Failed TestClientDisposeWhileOperationsAreInProgress - [10:41:44] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). -Failed TestCancel -Failed TestDeployAll(True) -Failed TestDeployAllException(True) -Failed TestDeployAllException(False) -Failed TestDeploymentExceptionSerializable -Failed TestDeployMultipleException(True) -Failed TestDuckTyping(True) -Failed TestFooterSetting -Failed TestGetDynamicServiceProxy - [10:43:42] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:43:43] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:43:43] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). -Failed TestGetServiceProxy(True) -Failed TestGetServiceProxy(False) - [10:43:46] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:43:46] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:43:46] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). -Failed TestCancel -Failed TestDeployAll(True) -Failed TestDeployAllException(True) -Failed TestDeployAllInputErrors -Failed TestDeploymentExceptionSerializable -Failed TestDeployMultipleException(True) -Failed TestDuckTyping(True) -Failed TestFooterSetting -Failed TestGetDynamicServiceProxy - [10:44:05] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:44:05] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:44:05] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). -Failed TestGetServiceProxy(True) -Failed TestGetServiceProxy(False) - [10:44:08] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:44:08] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). - [10:44:09] Hadoop module will not start due to exception: Failed to resolve Hadoop classpath (please define HADOOP_HOME environment variable and point it to your Hadoop distribution). -Total tests: 969. Passed: 793. Failed: 166. Skipped: 10.