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

e2e: Switch to the tmpnet fixture #1027

Merged
merged 16 commits into from
Feb 29, 2024
Merged

e2e: Switch to the tmpnet fixture #1027

merged 16 commits into from
Feb 29, 2024

Conversation

marun
Copy link
Contributor

@marun marun commented Dec 20, 2023

Replace the use of ANR in the warp and load testing e2e suites with the tmpnet fixture from avalanchego.

TODO

@marun marun force-pushed the e2e-warp-to-tmpnet branch from 36fe1e8 to cfb3b4b Compare December 20, 2023 03:14
@marun marun self-assigned this Dec 20, 2023
@marun marun added the testing This primarly focuses on testing label Dec 20, 2023
@marun marun changed the title e2e: Switch warp test to use tmpnet fixture e2e: Switch warp test to use tmpnet fixture Dec 20, 2023
@marun marun force-pushed the e2e-warp-to-tmpnet branch 15 times, most recently from 3a3748a to 028c479 Compare December 23, 2023 01:17
@marun marun changed the title e2e: Switch warp test to use tmpnet fixture e2e: Switch from ANR to the tmpnet fixture Dec 23, 2023
@marun marun force-pushed the e2e-warp-to-tmpnet branch from 028c479 to 7f93cec Compare December 23, 2023 04:21
@marun marun changed the title e2e: Switch from ANR to the tmpnet fixture e2e: Switch to the tmpnet fixture Dec 23, 2023
@marun marun force-pushed the e2e-warp-to-tmpnet branch from 7f93cec to 03ee1fe Compare December 23, 2023 04:24
@marun marun force-pushed the e2e-warp-to-tmpnet branch 3 times, most recently from d1d7480 to db6bf98 Compare January 5, 2024 17:10
@marun marun force-pushed the e2e-warp-to-tmpnet branch 3 times, most recently from a9d3ac5 to ceada0f Compare January 12, 2024 17:03
nodes,
tmpnet.FlagsMap{
// The default tmpnet log level (info/debug) induces too much overhead for load testing.
config.LogDisplayLevelKey: "error",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not critical but would be good if we can at least run this with info.

I've tested it to see if works with info here https://github.com/ava-labs/subnet-evm/pull/1104/files

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is for stdout, which is ignored for the purposes of a tmpnet network.

Copy link
Contributor Author

@marun marun Feb 26, 2024

Choose a reason for hiding this comment

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

Really the default for tmpnet should be error too, but I'll handle that separately since I don't want to require another update to avalanchego to get this PR mergeable.

Edit: Maybe it should actually be --log-display-level=off if we're ignoring it?

Copy link
Collaborator

Choose a reason for hiding this comment

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

yes

tests/load/load_test.go Outdated Show resolved Hide resolved
tests/warp/warp_test.go Show resolved Hide resolved
tests/warp/warp_test.go Show resolved Hide resolved
darioush
darioush previously approved these changes Feb 26, 2024
tests/load/load_test.go Outdated Show resolved Hide resolved
tests/warp/warp_test.go Show resolved Hide resolved
darioush
darioush previously approved these changes Feb 26, 2024
ceyonur
ceyonur previously approved these changes Feb 27, 2024
@ceyonur ceyonur enabled auto-merge (squash) February 28, 2024 14:41
@marun marun dismissed stale reviews from ceyonur and darioush via a3d799c February 28, 2024 23:04
@marun marun force-pushed the e2e-warp-to-tmpnet branch from 1a6fd85 to a3d799c Compare February 28, 2024 23:04
@marun
Copy link
Contributor Author

marun commented Feb 28, 2024

Disabled stdout logging

@ceyonur ceyonur disabled auto-merge February 29, 2024 09:24
@ceyonur ceyonur merged commit eab0ca3 into master Feb 29, 2024
10 checks passed
@ceyonur ceyonur deleted the e2e-warp-to-tmpnet branch February 29, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing This primarly focuses on testing
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants