Annotation Collisions

- Annotation timestamps are now incremented until unique.  This prevents
  rapid, successive annotations colliding.  The kind that occur during
  unit tests and when using UI wrapper programs.
- Removed 'sleep' commands in unit tests that were added to circumvent
  this.  This speeds up the test suite somewhat.
This commit is contained in:
Paul Beckingham
2011-08-13 21:53:10 -04:00
parent cb366e0270
commit be0522d567
6 changed files with 12 additions and 30 deletions

View File

@@ -120,22 +120,15 @@ qx{../src/task rc:urgency.rc add 6a}; # task 12
qx{../src/task rc:urgency.rc 12 annotate A};
qx{../src/task rc:urgency.rc add 6b}; # task 13
qx{../src/task rc:urgency.rc 13 annotate A};
diag ("6 second delay");
sleep 1;
qx{../src/task rc:urgency.rc 13 annotate B};
qx{../src/task rc:urgency.rc add 6c}; # task 14
qx{../src/task rc:urgency.rc 14 annotate A};
sleep 1;
qx{../src/task rc:urgency.rc 14 annotate B};
sleep 1;
qx{../src/task rc:urgency.rc 14 annotate C};
qx{../src/task rc:urgency.rc add 6d}; # task 15
qx{../src/task rc:urgency.rc 15 annotate A};
sleep 1;
qx{../src/task rc:urgency.rc 15 annotate B};
sleep 1;
qx{../src/task rc:urgency.rc 15 annotate C};
sleep 1;
qx{../src/task rc:urgency.rc 15 annotate D};
# annotations: 8 (1 annotation) + 10 (pending)