lighthouse/beacon_node/beacon_chain
Paul Hauner 9246a92d76 Make garbage collection test less failure prone (#3599)
## Issue Addressed

NA

## Proposed Changes

This PR attempts to fix the following spurious CI failure:

```
---- store_tests::garbage_collect_temp_states_from_failed_block stdout ----
thread 'store_tests::garbage_collect_temp_states_from_failed_block' panicked at 'disk store should initialize: DBError { message: "Error { message: \"IO error: lock /tmp/.tmp6DcBQ9/cold_db/LOCK: already held by process\" }" }', beacon_node/beacon_chain/tests/store_tests.rs:59:10
```

I believe that some async task is taking a clone of the store and holding it in some other thread for a short time. This creates a race-condition when we try to open a new instance of the store.

## Additional Info

NA
2022-09-23 03:52:44 +00:00
..
src Deduplicate block root computation (#3590) 2022-09-23 03:52:42 +00:00
tests Make garbage collection test less failure prone (#3599) 2022-09-23 03:52:44 +00:00
Cargo.toml Impl oneshot_broadcast for committee promises (#3595) 2022-09-21 01:01:50 +00:00