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

Fix Unit Test and Integration Test on MacOS and Windows platform #4566

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

eval-exec
Copy link
Collaborator

@eval-exec eval-exec commented Aug 6, 2024

What problem does this PR solve?

Want to fix:
https://github.com/nervosnetwork/ckb/actions/runs/10256636258/job/28376143614
https://github.com/nervosnetwork/ckb/actions/runs/10256636255/job/28376145250

In Integration Test, when node crash, print last 500 lines of log.
In Unit test fn basic_sync, wait init_load_unverified thread exit before process bad block

Related changes

  • Unit test: wait init_load_unverified thread finish before insert block
  • Integration Test: print last 500 lines log when node crash
  • Integration Test: wait init_load_unverified thread exit before process block on MacOS platform

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code ci-runs-only: [ quick_checks,linters ]

Side effects

  • None

Release note

None: Exclude this PR from the release note.

@eval-exec eval-exec requested a review from a team as a code owner August 6, 2024 02:02
@eval-exec eval-exec requested review from doitian, quake, zhangsoledad, driftluo and chenyukang and removed request for a team August 6, 2024 02:02
@eval-exec eval-exec added the t:ci Type: CI label Aug 6, 2024
@eval-exec eval-exec changed the title Improve Unit Test and Integration Test Fix Unit Test and Integration Test Aug 6, 2024
@eval-exec eval-exec changed the title Fix Unit Test and Integration Test Fix Unit Test and Integration Test on MacOS and Windows platform Aug 6, 2024
@doitian doitian enabled auto-merge August 6, 2024 02:17
@doitian doitian added this pull request to the merge queue Aug 6, 2024
Merged via the queue into nervosnetwork:develop with commit badf874 Aug 6, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:ci Type: CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants