-
Notifications
You must be signed in to change notification settings - Fork 24
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
Additional unit tests #52
base: main
Are you sure you want to change the base?
Conversation
I need a concept ACK. If this approach to testing is fine, I'll open a PR with the remaining unit tests. |
futures = "0.3" | ||
|
||
[dev-dependencies] | ||
lightning-rapid-gossip-sync = { git = "https://github.com/lightningdevkit/rust-lightning", rev = "e13ff10c63b01d3a9f1618320ce5f17dad2e5b48" } |
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.
Do we actually need anything in upstream or can we stick to 116?
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.
we need the publicly exposed excess_data field in announcements
src/tests/mod.rs
Outdated
} | ||
}); | ||
|
||
client.query("TRUNCATE TABLE channel_announcements RESTART IDENTITY CASCADE", &[]).await.unwrap(); |
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.
Lets create a temporary database instead.
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.
they're not really a thing. I can create permanent databases using randomized name suffixes, if that's ok?
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.
Yea, that's what I meant.
ca24a9e
to
3f97cb3
Compare
…send incremental updates.
…es-default seen timestamp.
c84a3ad
to
67b6d4f
Compare
No description provided.