Skip to content
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

Shutdown fix test #1885

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
66b5745
Test framework for restartability
jbearer Jun 17, 2024
4a56525
Add hotshot-query-service/testing feature, remove `testing` from defa…
jbearer Jun 18, 2024
9cab8f8
Configure libp2p in restart tests
jbearer Jun 27, 2024
8385e05
Return an error instead of panicking if node initialization fails
jbearer Jul 10, 2024
61d9e8d
Adjust timeouts and thresholds so tests consistently pass
jbearer Jul 10, 2024
efb5233
Deterministically avoid port collisions
jbearer Jul 11, 2024
537a8cd
Improve debug logging for event handling tasks
jbearer Jul 11, 2024
58481f5
Update API database in sync with consensus storage
jbearer Jul 12, 2024
05efffc
Bug fixes
jbearer Jul 16, 2024
b3774f3
Improved logging around decide events
jbearer Jul 16, 2024
de7ea85
Use a more robust method for deciding which leaves have already been …
jbearer Jul 17, 2024
ee1ab80
Disable "restart all" tests
jbearer Jul 17, 2024
8d2b6ad
update the cdn
rob-maron Jul 19, 2024
331da9f
Move event back-processing to async task so it doesn't block startup
jbearer Jul 30, 2024
21622f4
Document restart function
jbearer Aug 12, 2024
9f607ff
Avoid blocking drop with task cancellation if shut_down is explicitly…
jbearer Aug 12, 2024
6c15478
Avoid blocking drop at end of restart tests
jbearer Aug 13, 2024
5bda27e
Mark restart tests slow
jbearer Aug 15, 2024
9a941af
Mark restart tests as heavy
jbearer Aug 16, 2024
8271254
Increase slow test timeout
jbearer Aug 16, 2024
045f862
Don't capture test output so I can debug timing out job
jbearer Aug 16, 2024
080c8b1
update
ss-es Aug 21, 2024
d65df15
update
ss-es Aug 21, 2024
112b622
update
ss-es Aug 22, 2024
35ef303
update
ss-es Aug 22, 2024
8aa266b
update
ss-es Aug 22, 2024
16e1f9a
update
ss-es Aug 22, 2024
6e49911
fix
ss-es Aug 22, 2024
1d2f608
update
ss-es Aug 22, 2024
eee9deb
update timeout
ss-es Aug 23, 2024
d43ff43
update
ss-es Aug 23, 2024
4a60444
fixed?
ss-es Aug 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# The restart tests run an entire sequencing network, and so are quite resource intensive.
[[profile.default.overrides]]
filter = 'test(slow_test_restart)'
threads-required = 'num-cpus'
8 changes: 4 additions & 4 deletions .github/workflows/slowtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.ref, 'main')}}
cancel-in-progress: false

env:
RUSTFLAGS: '--cfg async_executor_impl="async-std" --cfg async_channel_impl="async-std"'
Expand Down Expand Up @@ -53,12 +53,12 @@ jobs:
cargo nextest run --locked --release --workspace --all-features --no-run
timeout-minutes: 90

- name: SlowEst
- name: Slow tests
env:
CARGO_TERM_COLOR: always
# Build test binary with `testing` feature, which requires `hotshot_example` config
run: |
export RUSTFLAGS="$RUSTFLAGS --cfg hotshot_example"
export PATH="$PWD/target/release:$PATH"
cargo nextest run --locked --release --workspace --all-features --verbose -E 'test(slow_)'
timeout-minutes: 25
cargo nextest run --locked --release --workspace --all-features --verbose -E 'test(slow_)' --nocapture
timeout-minutes: 120
134 changes: 67 additions & 67 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading