remove was using the wrong time

This commit is contained in:
Rob Austin
2014-12-03 09:22:51 +00:00
parent 1b06733c67
commit 5f1d94ead8
@@ -112,7 +112,7 @@ public class NoTcpReplicationSoakTest {
final int key = rnd.nextInt(1000);
// add random delay
addRandomDelay(executorService, rnd);
addRandomDelay(executorService, rnd);
if (rnd.nextBoolean()) {
final CharSequence value = "test" + j;
@@ -153,7 +153,7 @@ public class NoTcpReplicationSoakTest {
@Override
public void run() {
map2.remoteRemove(key, (byte) 1, time);
map2.remoteRemove(key, (byte) 1, t);
task.decrementAndGet();
}
});
@@ -166,7 +166,7 @@ public class NoTcpReplicationSoakTest {
@Override
public void run() {
map1.remoteRemove(key, (byte) 2, time);
map1.remoteRemove(key, (byte) 2, t);
task.decrementAndGet();
}
});