-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intermittent test failure in one of Bodhi's fedora-messaging tests #2858
Comments
bowlofeggs
added
Critical
We can't go on living in this sqalor, drop everything and fix it!
Tests
Issues pertaining to Bodhi's tests
Crash
Issues related to an unhandled crash
labels
Dec 17, 2018
I think the problem is that the automatically-set I can make a PR to delete the header for that bodhi test so you're unblocked and also fix the equality check in fedora-messaging. |
jeremycline
added a commit
to jeremycline/bodhi
that referenced
this issue
Dec 17, 2018
This header is the time when the message was sent. If the test runs quickly enough the two time stamps could be equal, which is why this doesn't always fail. fixes fedora-infra#2858 Signed-off-by: Jeremy Cline <jcline@redhat.com>
jeremycline
added a commit
to jeremycline/fedora-messaging
that referenced
this issue
Dec 17, 2018
In fedora-infra/bodhi#2858 it was noted that tests involving equality of messages fails because of the sent-at header. It doesn't make a lot of sense to include this in an equality check for the same reason the id is not included in the check - it's metadata and of little interest to developers (unless they are tracking messages). Signed-off-by: Jeremy Cline <jcline@redhat.com>
jeremycline
added a commit
to jeremycline/fedora-messaging
that referenced
this issue
Dec 17, 2018
In fedora-infra/bodhi#2858 it was noted that tests involving equality of messages fails because of the sent-at header. It doesn't make a lot of sense to include this in an equality check for the same reason the id is not included in the check - it's metadata and of little interest to developers (unless they are tracking messages). Signed-off-by: Jeremy Cline <jcline@redhat.com>
jeremycline
added a commit
to jeremycline/bodhi
that referenced
this issue
Dec 19, 2018
This header is the time when the message was sent. If the test runs quickly enough the two time stamps could be equal, which is why this doesn't always fail. fixes fedora-infra#2858 Signed-off-by: Jeremy Cline <jcline@redhat.com>
jeremycline
added a commit
to jeremycline/fedora-messaging
that referenced
this issue
Dec 19, 2018
In fedora-infra/bodhi#2858 it was noted that tests involving equality of messages fails because of the sent-at header. It doesn't make a lot of sense to include this in an equality check for the same reason the id is not included in the check - it's metadata and of little interest to developers (unless they are tracking messages). Signed-off-by: Jeremy Cline <jcline@redhat.com>
mergify bot
pushed a commit
to fedora-infra/fedora-messaging
that referenced
this issue
Dec 24, 2018
In fedora-infra/bodhi#2858 it was noted that tests involving equality of messages fails because of the sent-at header. It doesn't make a lot of sense to include this in an equality check for the same reason the id is not included in the check - it's metadata and of little interest to developers (unless they are tracking messages). Signed-off-by: Jeremy Cline <jcline@redhat.com>
bowlofeggs
pushed a commit
to jeremycline/bodhi
that referenced
this issue
Jan 3, 2019
This header is the time when the message was sent. If the test runs quickly enough the two time stamps could be equal, which is why this doesn't always fail. fixes fedora-infra#2858 Signed-off-by: Jeremy Cline <jcline@redhat.com>
bowlofeggs
pushed a commit
to jeremycline/bodhi
that referenced
this issue
Jan 4, 2019
This header is the time when the message was sent. If the test runs quickly enough the two time stamps could be equal, which is why this doesn't always fail. fixes fedora-infra#2858 Signed-off-by: Jeremy Cline <jcline@redhat.com>
mergify bot
pushed a commit
that referenced
this issue
Jan 5, 2019
This header is the time when the message was sent. If the test runs quickly enough the two time stamps could be equal, which is why this doesn't always fail. fixes #2858 Signed-off-by: Jeremy Cline <jcline@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's a test assertion in Bodhi that occasionally fails like this:
The problem seems to be that the
Message.id
attribute is not the same between the two messages. We could fix it by either stopping to compare theid
, or maybe by contributing an assertion method tofedora-messaging
that allows users to compare messages without having to compare theid
s.@jeremycline what would you recommend here?
The text was updated successfully, but these errors were encountered: