-
Notifications
You must be signed in to change notification settings - Fork 983
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
Adjust IBC e2e test config #3455
Conversation
crates/tests/src/e2e/helpers.rs
Outdated
@@ -537,7 +537,7 @@ pub fn make_hermes_config(test_a: &Test, test_b: &Test) -> Result<()> { | |||
|
|||
let mut packets = toml::map::Map::new(); | |||
packets.insert("enabled".to_owned(), Value::Boolean(true)); | |||
packets.insert("clear_interval".to_owned(), Value::Integer(10)); | |||
packets.insert("clear_interval".to_owned(), Value::Integer(20)); |
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.
Avoid terminating the packet-clearing thread in Hermes
@@ -614,12 +614,14 @@ fn make_hermes_chain_config(test: &Test) -> Value { | |||
); | |||
chain.insert("store_prefix".to_owned(), Value::String("ibc".to_owned())); | |||
let mut table = toml::map::Map::new(); | |||
table.insert("price".to_owned(), Value::Float(0.001)); | |||
table.insert("price".to_owned(), Value::Float(0.000001)); |
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.
Set the practical gas price for the gas estimation feature in Hermes
std::env::set_var(ENV_VAR_CHAIN_ID, test.net.chain_id.to_string()); | ||
let nam_addr = find_address(test, setup::constants::NAM).unwrap(); | ||
table.insert("denom".to_owned(), Value::String(nam_addr.to_string())); | ||
chain.insert("gas_price".to_owned(), Value::Table(table)); | ||
|
||
chain.insert("max_block_time".to_owned(), Value::String("60s".to_owned())); |
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 retry in the longer time
@@ -955,7 +955,7 @@ fn create_channel_with_hermes( | |||
"--yes", | |||
]; | |||
|
|||
let mut hermes = run_hermes_cmd(test_a, args, Some(120))?; | |||
let mut hermes = run_hermes_cmd(test_a, args, Some(240))?; |
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.
Avoid timeout for the channel creation handshake
"e2e::ibc_tests::pgf_over_ibc_with_hermes": 810, | ||
"e2e::ibc_tests::proposal_ibc_token_inflation": 1100, | ||
"e2e::ibc_tests::ibc_rate_limit": 430, | ||
"e2e::ibc_tests::ibc_namada_gaia": 180, |
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.
some tests were changed. Set the latest actual time in CI.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3455 +/- ##
==========================================
- Coverage 53.92% 53.92% -0.01%
==========================================
Files 317 317
Lines 107575 107575
==========================================
- Hits 58011 58005 -6
- Misses 49564 49570 +6 ☔ View full report in Codecov by Sentry. |
dcfe259
to
52adb35
Compare
* yuji/ibc-e2e-config: longer interval add changelog clear on start change IBC e2e test config
* yuji/ibc-e2e-config: longer interval add changelog clear on start change IBC e2e test config
* yuji/ibc-e2e-config: longer interval add changelog clear on start change IBC e2e test config
* yuji/ibc-e2e-config: longer interval add changelog clear on start change IBC e2e test config
* origin/yuji/ibc-e2e-config: longer interval add changelog clear on start change IBC e2e test config
Describe your changes
IBC E2E tests are getting flaky. It seems that the load for running two nodes is increasing and the IBC process sometimes is delayed.
Indicate on which release or other PRs this topic is based on
v0.39.0
Checklist before merging to
draft