Project

General

Profile

Bug #1995

scheduling/re-scheduling of events has bug

Added by Lauri Carpenter over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Start date:
10/11/2011
Due date:
% Done:

0%

Estimated time:
Duration:

Description

The tests (and hence the underlying code) for the scheduling/rescheduling of events has a bug.
We test to make sure that we cannot create a SECOND identical job as in:

            print("... make sure we cannot schedule another [different] one...")
            another_work_item = factory.scheduleBlock(self.good_authenticated_agent, this_event)
            self.failUnless(another_work_item == work_item,
                            'wrong answer, we scheduled another DIFFERENT block')

but the careful reader will notice that this test is BACKWARDS, another_work_item is NOT different if it "==" the original work item.

This primarily affects the timeout, which is being both scheduled and re-scheduled and taking up log space and confusing things.

History

#1 Updated by Lauri Carpenter over 8 years ago

  • Status changed from New to Resolved

#2 Updated by Lauri Carpenter over 8 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF