An automated test for checking that a PR can sync #164
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
Epic
good first issue
hacktoberfest
hard fork
help wanted
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
soft fork
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
work in progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbrycrd#164
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As part of the automated travis build (or maybe it could be a separate thing from travis) , we should try to run and sync the built lbrycrd on testnet to see if it can a) sync from scratch and b) start up when its already synced and can succesfuly recieve a couple of blocks.
Not sure if this is possible just using travis (might take too long? use too much disk space?). We might have to set up some servers for this.
Yeah, I agree it would be nice, but I think it would also require doing externally. As a first cut, we could probably just grab the binaries built from the travis build, run them for however long it's trying to do things, then e-mail the last couple hundred lines of the log to determine if things were normal up until shutdown.
I think travis has timeout limits that would prevent it from working there.
Would be cool if you guys could use orchstr8 to run the tests. The wallet currently runs integration tests where it creates a
regtest
and generates 200 blocks then performs some interactions. Is testingregtest
good enough or do you guys need mainnet/testnet specifically?Looks like this: https://travis-ci.org/lbryio/torba/jobs/397136549#L562
Nothing wrong with regtest testing also, but what @kaykurokawa is suggesting is specifically testnet, to ensure nothing obvious is overlooked in a PR. Usually that kind of testing is done manually.
It wouldn't hurt to have some quick tests to verify regtest within the test.
Also, might also be good to try testing sync'ing to mainnet as well.