Order of task callbacks run is not gauranteed #3

Open
opened 2024-11-22 20:06:41 +00:00 by iamthefij · 0 comments
Owner

One of the tests is flaky because the callbacks may not be run in the same order as the original tasks. This is probably something I cannot guarantee. I should at least verify that the original tasks are run in sequence by echoing to a temp file. This may not be possible either without limiting the number of goroutines to 1.

Maybe this would be a good option.

One of the tests is flaky because the callbacks may not be run in the same order as the original tasks. This is probably something I cannot guarantee. I should at least verify that the original tasks are run in sequence by echoing to a temp file. This may not be possible either without limiting the number of goroutines to 1. Maybe this would be a good option.
iamthefij added the
bug
label 2024-11-22 20:06:41 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: iamthefij/tortoise#3
No description provided.