unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Give test messages unique timestamps
@ 2013-12-08 15:52 David Bremner
  2013-12-08 15:52 ` [PATCH 1/4] test: pass expected output through json_sanitize in 2 places David Bremner
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: David Bremner @ 2013-12-08 15:52 UTC (permalink / raw)
  To: notmuch

It turns out that having all messages with the same timestamp leads to
some nondeterministic behaviour of the test suite (see e.g.https://buildd.debian.org/status/fetch.php?pkg=notmuch&arch=i386&ver=0.17%7Erc3-1&stamp=1386412394) 

Decreasing timestamps are chosen to reduce the number of changes
needed to the test suite.  The first three patches are independent of
this choice.


 test/emacs           | 12 +++++++-----
 test/emacs-show      | 10 ++++++----
 test/encoding        |  8 ++++----
 test/excludes        |  4 ++--
 test/maildir-sync    | 15 +++++----------
 test/missing-headers |  8 +++++---
 test/multipart       |  2 +-
 test/raw             |  8 ++++----
 test/test-lib.sh     | 15 ++++++++++++---
 9 files changed, 46 insertions(+), 36 deletions(-)

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-12-10  0:47 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-08 15:52 Give test messages unique timestamps David Bremner
2013-12-08 15:52 ` [PATCH 1/4] test: pass expected output through json_sanitize in 2 places David Bremner
2013-12-08 18:54   ` Tomi Ollila
2013-12-08 15:52 ` [PATCH 2/4] test: sanitize Date and timestamp fields in json David Bremner
2013-12-08 18:59   ` Tomi Ollila
2013-12-08 15:52 ` [PATCH 3/4] test: sanitize dates in emacs, raw, and text output David Bremner
2013-12-09  0:25   ` Austin Clements
2013-12-09  1:17     ` David Bremner
2013-12-08 15:52 ` [PATCH 4/4] test: give unique timestamps to messages David Bremner
2013-12-08 19:06   ` Tomi Ollila
2013-12-09  1:18     ` David Bremner
2013-12-09  8:20       ` Tomi Ollila
2013-12-09  0:28   ` Austin Clements
2013-12-09 13:36 ` [Patch v2 1/4] test: pass expected output through json_sanitize in 2 places David Bremner
2013-12-09 13:36   ` [Patch v2 2/4] test: sanitize Date and timestamp fields in json David Bremner
2013-12-09 13:36   ` [Patch v2 3/4] test: sanitize dates in emacs, raw, and text output David Bremner
2013-12-09 13:36   ` [Patch v2 4/4] test: give unique timestamps to messages David Bremner
2013-12-09 22:40     ` Tomi Ollila
2013-12-10  0:46       ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).