-
Notifications
You must be signed in to change notification settings - Fork 289
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
test!: adds the ability to set or unset bbr in e2e tests #3817
Conversation
Can confirm that all e2e tests work fine. |
…sing testnet fields
UPDATE [This issue is resolved, please skip the comment] After extensive debugging on this PR, I identified the reason behind the failure of the Context and Reproducibility: To reproduce the issue, run the
The logs of the validator indicate pod initialization failed which may not provide much insight, but using Lens revealed more details about the cause: You can also reproduce the issue by running You may change the seed in the |
I ran the following tests once more after merging the main branch into this PR and can confirm they all work fine:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not blocking, but I think we can simply always use the no bbr flag here
Agreed! Might just be easier to simplify. |
testnet.NoError("failed to create genesis node", testNet.CreateGenesisNode(v, 10000000, 0, testnet.DefaultResources)) | ||
testnet.NoError("failed to create genesis node", | ||
testNet.CreateGenesisNode(v, 10000000, 0, | ||
testnet.DefaultResources, false)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not blocking, but I think we can simply always use the no bbr flag here
We cannot default to true
i.e., disabling bbr since in the versions used in MinorVersionCompatibility
, this flag is not present yet hence causing failure in the test. cc: @evan-forbes @ninabarbakadze
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To elaborate on my previous comment: my perspective is that the bbr flag must be set according to the version of the celestia-app used for the validators. Since some versions support this flag while others do not, it is being made a parameter in the CreateGenesisNode
function. This allows the caller, based on the version specified (the first parameter), to determine whether to enable or disable bbr.
The linter complaint is not caused by this PR. |
Closes #3815 by disabling BBR in e2e tests.