mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +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
|
@ -47,18 +47,11 @@ if (open my $fh, '>', 'denotate.rc')
|
|||
# Add four tasks, annotate one three times, one twice, one just once and one none.
|
||||
qx{../src/task rc:denotate.rc add one};
|
||||
qx{../src/task rc:denotate.rc 1 annotate Ernie};
|
||||
diag ("6 second delay");
|
||||
sleep 1;
|
||||
qx{../src/task rc:denotate.rc 1 annotate Bert};
|
||||
sleep 1;
|
||||
qx{../src/task rc:denotate.rc 1 annotate Bibo};
|
||||
sleep 1;
|
||||
qx{../src/task rc:denotate.rc 1 annotate Kermit the frog};
|
||||
sleep 1;
|
||||
qx{../src/task rc:denotate.rc 1 annotate Kermit the frog};
|
||||
sleep 1;
|
||||
qx{../src/task rc:denotate.rc 1 annotate Kermit};
|
||||
sleep 1;
|
||||
qx{../src/task rc:denotate.rc 1 annotate Kermit and Miss Piggy};
|
||||
|
||||
my $output = qx{../src/task rc:denotate.rc rrr};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue