diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-02-03 22:13:40 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-02-03 22:13:40 +0000 |
commit | 8584824006b987fb260636fe65ff525f3b2acf52 (patch) | |
tree | ed4255c5d237429d44ce27f52cdcee426de2c4de /script/rails-post-deploy | |
parent | 37bbce024b1ea731fe964b9eaddfd75dd548daee (diff) |
Test should not depend on nondeterministic order
Issue #409 seems to be another problem of the same type as #408,
though with the important difference that the bug in this case
is in the test suite rather than the code under test.
RequestMailer sends alert emails warning of overdue requests.
However it does not specify the order that these messages are
sent in, but runs over the overdue requests in whatever order
they are returned by a database query (that does not have an
order by clause). Therefore it is not safe for the test code
to assume that the alert mails will have been sent in a particular
order: just as with #408 it seems that they were *usually* sent
in the order assumed by the test code, but occasionally not --
which would result in sporadic test failures.
Closes #409.
Diffstat (limited to 'script/rails-post-deploy')
0 files changed, 0 insertions, 0 deletions