Skip to content

tests: split TestResolver to enable more tests on CircleCI#4944

Merged
algorandskiy merged 3 commits intoalgorand:masterfrom
michaeldiamant:split_resolver_test
Jan 3, 2023
Merged

tests: split TestResolver to enable more tests on CircleCI#4944
algorandskiy merged 3 commits intoalgorand:masterfrom
michaeldiamant:split_resolver_test

Conversation

@michaeldiamant
Copy link
Copy Markdown
Contributor

Splits TestResolver into 3 tests in order to only disable Cloudflare-specific assertions on CircleCI. The PR enables broader CI test coverage while out-of-band Cloudflare DNS resolution investigation continues.

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 23, 2022

Codecov Report

Merging #4944 (2202e58) into master (35bcd35) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4944      +/-   ##
==========================================
- Coverage   53.74%   53.69%   -0.06%     
==========================================
  Files         433      433              
  Lines       54050    54050              
==========================================
- Hits        29049    29020      -29     
- Misses      22759    22780      +21     
- Partials     2242     2250       +8     
Impacted Files Coverage Δ
ledger/tracker.go 74.26% <0.00%> (-4.65%) ⬇️
crypto/merkletrie/trie.go 66.42% <0.00%> (-2.19%) ⬇️
network/wsPeer.go 66.43% <0.00%> (-1.90%) ⬇️
crypto/merkletrie/node.go 91.62% <0.00%> (-1.87%) ⬇️
util/rateLimit.go 82.35% <0.00%> (-0.99%) ⬇️
ledger/catchpointtracker.go 57.70% <0.00%> (-0.80%) ⬇️
network/wsNetwork.go 64.74% <0.00%> (-0.18%) ⬇️
catchup/service.go 69.80% <0.00%> (ø)
ledger/testing/randomAccounts.go 56.88% <0.00%> (+0.61%) ⬆️
tools/network/resolver.go 40.74% <0.00%> (+18.51%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@michaeldiamant michaeldiamant marked this pull request as ready for review December 23, 2022 16:00
Copy link
Copy Markdown
Contributor

@algorandskiy algorandskiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please fix formatting

Comment thread tools/network/resolver_test.go Outdated

import (
"context"
"github.com/algorand/go-algorand/test/partitiontest"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

invalid fmt

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@algorandskiy I attempted to fix in 2202e58.

@algorandskiy algorandskiy changed the title Tests: Split TestResolver to enable more tests on CircleCI tests: split TestResolver to enable more tests on CircleCI Jan 3, 2023
@algorandskiy algorandskiy merged commit 78a472c into algorand:master Jan 3, 2023
@michaeldiamant michaeldiamant deleted the split_resolver_test branch January 3, 2023 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants