You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pa...@apache.org on 2017/11/12 19:58:36 UTC
[camel] 02/05: camel-hazelcast:
HazelcastAggregationRepositoryOperationsTest use different keys,
to prevent OptimisticLockingExceptions when running all test methods
This is an automated email from the ASF dual-hosted git repository.
pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 2824a193a09fc7e220078229fc088292cb57837c
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sun Nov 12 19:29:51 2017 +0100
camel-hazelcast: HazelcastAggregationRepositoryOperationsTest use different keys, to prevent OptimisticLockingExceptions when running all test methods
---
.../hazelcast/HazelcastAggregationRepositoryOperationsTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-hazelcast/src/test/java/org/apache/camel/processor/aggregate/hazelcast/HazelcastAggregationRepositoryOperationsTest.java b/components/camel-hazelcast/src/test/java/org/apache/camel/processor/aggregate/hazelcast/HazelcastAggregationRepositoryOperationsTest.java
index 651cd75..4e8d863 100644
--- a/components/camel-hazelcast/src/test/java/org/apache/camel/processor/aggregate/hazelcast/HazelcastAggregationRepositoryOperationsTest.java
+++ b/components/camel-hazelcast/src/test/java/org/apache/camel/processor/aggregate/hazelcast/HazelcastAggregationRepositoryOperationsTest.java
@@ -96,7 +96,7 @@ public class HazelcastAggregationRepositoryOperationsTest extends HazelcastAggre
repoTwo.start();
final String testBody = "This is an optimistic test body. Sincerely yours, Captain Obvious.";
- final String key = "optimisticKey";
+ final String key = "optimisticGetKey";
Exchange ex = createExchangeWithBody(testBody);
repoOne.add(context(), key, null, ex);
@@ -149,7 +149,7 @@ public class HazelcastAggregationRepositoryOperationsTest extends HazelcastAggre
repoTwo.doStart();
final String testBody = "This is an optimistic test body. Sincerely yours, Captain Obvious.";
- final String key = "optimisticKey";
+ final String key = "optimisticPersistentRemoveKey";
Exchange ex = createExchangeWithBody(testBody);
--
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.