# IGNITE-102: Remove debug.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/8112a506 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/8112a506 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/8112a506 Branch: refs/heads/sprint-1 Commit: 8112a5062adcd0931caafd166c0e2bf6e2b2674e Parents: fa4ac59 Author: AKuznetsov <akuznet...@gridgain.com> Authored: Thu Jan 29 10:27:23 2015 +0700 Committer: AKuznetsov <akuznet...@gridgain.com> Committed: Thu Jan 29 10:27:23 2015 +0700 ---------------------------------------------------------------------- .../ignite/yardstick/cache/IgnitePutGetTxBenchmark.java | 8 -------- 1 file changed, 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8112a506/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetTxBenchmark.java ---------------------------------------------------------------------- diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetTxBenchmark.java b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetTxBenchmark.java index 944d6a4..206dabc 100644 --- a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetTxBenchmark.java +++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetTxBenchmark.java @@ -31,23 +31,15 @@ public class IgnitePutGetTxBenchmark extends IgniteCacheAbstractBenchmark { @Override public boolean test(Map<Object, Object> ctx) throws Exception { int key = nextRandom(0, args.range() / 2); - ignite().log().debug("IgnitePutGetTxBenchmark - key: " + key); - try (IgniteTx tx = ignite().transactions().txStart()) { - ignite().log().debug("IgnitePutGetTxBenchmark: txStart()"); - Object val = cache.get(key); - ignite().log().debug("IgnitePutGetTxBenchmark - get():" + val); - if (val != null) key = nextRandom(args.range() / 2, args.range()); cache.put(key, new SampleValue(key)); tx.commit(); - - ignite().log().debug("IgnitePutGetTxBenchmark - txCommit"); } return true;