Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ private void doSendMessages(int files, int poolSize) throws Exception {
public Object call() throws Exception {
String id = index % 2 == 0 ? "A" : "B";
template.sendBodyAndHeader("direct:start", index, "id", id);
// simulate a little delay
Thread.sleep(3);
return null;
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ private void doSendMessages(int files, int poolSize) throws Exception {
executor.submit(new Callable<Object>() {
public Object call() throws Exception {
template.sendBodyAndHeader("direct:start", index, "id", 123);
// simulate a little delay
Thread.sleep(3);
return null;
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ public void testLoadAndRecoverLevelDBAggregate() throws Exception {
headers.put("seq", i);
LOG.debug("Sending {} with id {}", value, id);
template.sendBodyAndHeaders("seda:start", value, headers);
// simulate a little delay
Thread.sleep(5);
}

LOG.info("Sending all {} message done. Now waiting for aggregation to complete.", SIZE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ public Object call() throws Exception {
char id = KEYS[key];
LOG.debug("Sending {} with id {}", value, id);
template.sendBodyAndHeader("direct:start", value, "id", Character.toString(id));
// simulate a little delay
Thread.sleep(3);
return null;
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ public void testExisting() throws Exception {
// stop the repo
levelDBFile.stop();

Thread.sleep(1000);

// load the repo again
levelDBFile.start();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ public void testExisting() throws Exception {
// stop the repo
repo.stop();

Thread.sleep(1000);

// load the repo again
repo.start();

Expand Down
Loading