0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00
bitcoin-bitcoin-core/ci/test
Andrew Chow 541976b42e
Merge bitcoin/bitcoin#27850: test: Add unit & functional test coverage for blockstore
de8f9123af test: cover read-only blockstore (Matthew Zipkin)
5c2185b3b6 ci: enable chattr +i capability inside containers (Matthew Zipkin)
e573f24202 unit test: add coverage for BlockManager (Matthew Zipkin)

Pull request description:

  This PR adds unit and functional tests to cover the behavior described in #2039. In particular, that bitcoind will crash on startup if a reindex is requested but the `blk` files are read-only. Eventually this behavior can be updated with https://github.com/bitcoin/bitcoin/pull/27039. This PR just commits the test coverage from #27039 as suggested in https://github.com/bitcoin/bitcoin/pull/27039#issuecomment-1584915782

ACKs for top commit:
  jonatack:
    ACK de8f9123af modulo suggestions in https://github.com/bitcoin/bitcoin/pull/27850#discussion_r1319010039, tested on macOS, but not on Linux for the Linux-related change in the last push
  achow101:
    ACK de8f9123af
  MarcoFalke:
    lgtm ACK de8f9123af 📶

Tree-SHA512: b9bd684035dcea11c901b649fc39f397a2155a9a8459f3348e67947e387e45312fddeccb52981aef486f8a31deebb5356a7901c1bb94b78f82c24192a369af73
2023-09-14 13:21:14 -04:00
..
00_setup_env.sh ci: enable chattr +i capability inside containers 2023-09-06 10:40:09 -04:00
00_setup_env_android.sh ci: Add missing amd64 to win64-cross task 2023-08-18 14:23:17 +02:00
00_setup_env_arm.sh ci: Use qemu-user through container engine 2023-08-07 17:36:14 +02:00
00_setup_env_i686_centos.sh ci: enable chattr +i capability inside containers 2023-09-06 10:40:09 -04:00
00_setup_env_i686_multiprocess.sh ci: Use qemu-user through container engine 2023-08-07 17:36:14 +02:00
00_setup_env_mac.sh depends: use LLVM/Clang 15.0.6 for macOS cross-compile 2023-08-27 10:02:55 +01:00
00_setup_env_mac_native.sh ci: Run "macOS native x86_64" job on GitHub Actions 2023-08-09 10:59:43 +01:00
00_setup_env_native_asan.sh ci: clang-17 for fuzz and tsan 2023-09-13 13:35:39 +02:00
00_setup_env_native_fuzz.sh ci: clang-17 for fuzz and tsan 2023-09-13 13:35:39 +02:00
00_setup_env_native_fuzz_with_msan.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_native_fuzz_with_valgrind.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_native_msan.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_native_nowallet_libbitcoinkernel.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_native_qt5.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_native_tidy.sh ci: clang-17 for fuzz and tsan 2023-09-13 13:35:39 +02:00
00_setup_env_native_tsan.sh ci: clang-17 for fuzz and tsan 2023-09-13 13:35:39 +02:00
00_setup_env_native_valgrind.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_s390x.sh ci: Remove unused TEST_RUNNER_ENV="LC_ALL=C" from s390x task 2023-08-27 22:50:42 +02:00
00_setup_env_win64.sh ci: Add missing amd64 to win64-cross task 2023-08-18 14:23:17 +02:00
01_base_install.sh ci: Add missing ${CI_RETRY_EXE} before curl 2023-08-18 14:11:40 +02:00
04_install.sh ci: enable chattr +i capability inside containers 2023-09-06 10:40:09 -04:00
06_script_b.sh ci: Asan with -ftrivial-auto-var-init=pattern 2023-08-30 10:52:27 +02:00
wrap-valgrind.sh scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
wrap-wine.sh scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00