Closed havocp closed 10 years ago
I believe log message lines have to stay in order or the UI will be f-d up. Stack frames in an exception out of order for example.
MAYBE we want to allow ourselves to have no defined order between stdout and stderr writes (only guarantee order on same stream) but I suspect we are all synchronous right now and do order even that. We'd have to go out of our way to send the events from a thread pool to get them reordered.
Right, but the tasks themselves are run in parallel, so you have to know that you're calling a task chain that has explicit dependencies, otherwise the order of events is arbitrary.
Are these tests ensuring ordering without forcing EXACT sequenece of logs?
I tried not to rely on sequencing between tasks, only logs from a single task? where are you worried about?
Ah, ok. I just didn't look deep enough. Should be fine.
LGTM - with one question about tests based on log events.