mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 19:03:07 +02:00
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:
parent
cb366e0270
commit
be0522d567
6 changed files with 12 additions and 30 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue