Skip to content

Commit

Permalink
ignite-db-x Fixed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sboikov committed Jun 10, 2016
1 parent 247907c commit 6c2de83
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,11 @@ private void check(boolean single, CacheConfiguration cc) throws Exception {
for (IgniteEx g : grids) {
GridCacheAdapter<Object, Object> cx = g.context().cache().internalCache();

GridCacheEntryEx e = cx.peekEx(key);
GridCacheEntryEx e = cx.entryEx(key);

assertNotNull("Failed to find entry on primary/backup node.", e);
e.unswap();

assertNotNull("Failed to find entry on primary/backup node.", e.rawGet());

GridCacheVersion ver = e.version();
Object val = e.rawGet().value(cx.context().cacheObjectContext(), true);
Expand Down

0 comments on commit 6c2de83

Please sign in to comment.