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:
@@ -42,12 +42,9 @@ if (open my $fh, '>', 'bug.rc')
|
||||
# Bug 703: /from/t/g fails to make all changes to annotations
|
||||
|
||||
# Setup: Add a few tasks
|
||||
diag ("2 second delay");
|
||||
qx{../src/task rc:bug.rc add This is a test};
|
||||
qx{../src/task rc:bug.rc 1 annotate Annotation one};
|
||||
sleep 1;
|
||||
qx{../src/task rc:bug.rc 1 annotate Annotation two};
|
||||
sleep 1;
|
||||
qx{../src/task rc:bug.rc 1 annotate Annotation three};
|
||||
|
||||
my $output = qx{../src/task rc:bug.rc list};
|
||||
|
||||
Reference in New Issue
Block a user