[PATCH] test: new: Fix intermittent test failures with --debug
Jameson Graef Rollins
jrollins at finestructure.net
Sun Oct 21 22:18:52 PDT 2012
On Sun, Oct 21 2012, Ethan Glasser-Camp <ethan.glasser.camp at gmail.com> wrote:
> Although messages are created in a particular order, it seems that
> when they are created on a tmpfs, they do not always come back in the
> same order, leading to the same files being ignored but being output
> in a different order. This causes the test to fail because the outputs
> being compared are the same.
>
> Fix the failures by sorting the output of notmuch --debug and
> comparing this to a hand-sorted version of its output.
This seems to fix a failing test that I'm seeing right now, at least in
the couple of times that I've re-run the tests after applying this
patch.
jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20121021/e8990a1c/attachment.pgp>
More information about the notmuch
mailing list