-
Notifications
You must be signed in to change notification settings - Fork 18
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
Extend generic channel tests #223
Extend generic channel tests #223
Conversation
There are several problems with `func TestSetBackend`: - It looks like a test function but it is contained within a non-test package. - The test does not give any valuable information: We use it in the sim backend tests. However, the backend tests would fail anyways if the backend is not set correctly. Signed-off-by: Matthias Geihs <[email protected]>
Function `FromEthState` did not set the App correctly on a decoded state. Signed-off-by: Matthias Geihs <[email protected]>
Signed-off-by: Matthias Geihs <[email protected]>
Signed-off-by: Matthias Geihs <[email protected]>
169827e
to
1513db6
Compare
Signed-off-by: Matthias Geihs <[email protected]>
1513db6
to
e682e05
Compare
Signed-off-by: Matthias Geihs <[email protected]>
dcd7d9f
to
6de987a
Compare
err := e.Timeout().Wait(ctx) | ||
assert.NoError(t, err, "concluded: waiting") | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the most important to test would be the event skipping and fast-forwarding of RegisteredEvent
s.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the implementation is no trivial.
After some discussion, marking this as a draft. Planning to resume work on it later. |
Closed until this becomes a higher priority again. |
Closes #219
Package channel: Adds generic tests for testing funder, adjudicator, and subscription implementation.