This is an automated email from the ASF dual-hosted git repository.
dschneider pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new 36a1165 Revert "GEODE-3592: remove getAnyInstance call (#1026)"
36a1165 is described below
commit 36a116573968d10b71a39c0cd425d38067daa033
Author: Darrel Schneider <[email protected]>
AuthorDate: Mon Nov 13 17:26:07 2017 -0800
Revert "GEODE-3592: remove getAnyInstance call (#1026)"
This reverts commit 3bc8c1a59e32c47e9f3a661023397c269602f8ad.
---
.../src/test/java/org/apache/geode/internal/cache/CommitFunction.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/geode-core/src/test/java/org/apache/geode/internal/cache/CommitFunction.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/CommitFunction.java
index 86cd9de..59ffe44 100644
---
a/geode-core/src/test/java/org/apache/geode/internal/cache/CommitFunction.java
+++
b/geode-core/src/test/java/org/apache/geode/internal/cache/CommitFunction.java
@@ -73,8 +73,7 @@ public class CommitFunction implements Function {
}
public void execute(FunctionContext context) {
- Cache cache = context.getCache();
- cache.getCancelCriterion().checkCancelInProgress(null);
+ Cache cache = CacheFactory.getAnyInstance();
TXId txId = null;
try {
txId = (TXId) context.getArguments();
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].