-
Notifications
You must be signed in to change notification settings - Fork 937
Closed
Labels
Description
I made an attempt to add the following tests on to in #7530
- genesis sync on a local devnet (covers current and next fork)
- brief shutdown and restart (covers lookup sync)
- longer shutdown and restart (covers range sync)
I tried using kurtosis-sync-tests and ran into a some issues with assertoor and I ended up removing the tests from the PR so we can move forward.
Given the simplicity of these tests, I think we could just have a simple bash script (similar to the checkpoint sync one in #7530) to do this (without having to debug assertoor):
- Start a network
- Immediately shutdown a node for some time
- Restart the node and poll its sync status until it's fully sync
The matrix I think we should cover:
lighthouse/.github/workflows/local-testnet.yml
Lines 221 to 224 in cfcc0d2
| strategy: | |
| matrix: | |
| fork: [electra, fulu] | |
| offline_secs: [ 120, 300] |
The commit for the previous attempt is here
6c7e839
chong-he