Fix another assertion error

This commit is contained in:
Kelven Yang 2013-06-17 16:18:43 -07:00
parent eaf30b8355
commit a72ddad92d
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ public class AsyncJobMonitor extends ManagerBase {
synchronized(this) {
s_logger.info("Add job-" + jobId + " into job monitoring");
assert(_activeTasks.get(jobId) == null);
assert(_activeTasks.get(runNumber) == null);
long threadId = Thread.currentThread().getId();
boolean fromPoolThread = Thread.currentThread().getName().contains(AsyncJobConstants.JOB_POOL_THREAD_PREFIX);