Skip to content

improvement for executor-coordinator tests#1235

Open
mchain0 wants to merge 1 commit into
mainfrom
fix-executor-coordinator-test-improvement
Open

improvement for executor-coordinator tests#1235
mchain0 wants to merge 1 commit into
mainfrom
fix-executor-coordinator-test-improvement

Conversation

@mchain0

@mchain0 mchain0 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

it's a brief follow up to #1229 improving tests around executor-coordinator:

  • replaced fixed time.Sleep delays in coordinator tests with require.Eventually polls that wait for the real signals each test is expecting.
  • fixed mock time mutation adding sync.Mutex

@mchain0 mchain0 requested a review from a team as a code owner July 6, 2026 10:34
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

👋 mchain0, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Code coverage report:

Package main fix-executor-coordinator-test-improvement Diff
github.com/smartcontractkit/chainlink-ccv/aggregator 49.54% 49.57% +0.03%
github.com/smartcontractkit/chainlink-ccv/bootstrap 54.43% 54.43% +0.00%
github.com/smartcontractkit/chainlink-ccv/cli 65.13% 65.13% +0.00%
github.com/smartcontractkit/chainlink-ccv/cmd 13.55% 13.55% +0.00%
github.com/smartcontractkit/chainlink-ccv/common 51.82% 51.82% +0.00%
github.com/smartcontractkit/chainlink-ccv/executor 46.88% 46.88% +0.00%
github.com/smartcontractkit/chainlink-ccv/indexer 35.55% 35.55% +0.00%
github.com/smartcontractkit/chainlink-ccv/integration 46.25% 46.16% -0.09%
github.com/smartcontractkit/chainlink-ccv/pkg 100.00% 100.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/pricer 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/protocol 63.06% 63.06% +0.00%
github.com/smartcontractkit/chainlink-ccv/verifier 35.17% 35.17% +0.00%
Total 46.80% 46.70% -0.10%

@mchain0 mchain0 requested review from KodeyThomas and carte7000 July 6, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants