Skip to content

Conversation

@yito88
Copy link
Collaborator

@yito88 yito88 commented Jun 28, 2024

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.

  • Adjust Hermes config in the e2e tests to avoid timeout

Indicate on which release or other PRs this topic is based on

v0.39.0

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

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));
Copy link
Collaborator Author

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

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));
Copy link
Collaborator Author

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

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()));
Copy link
Collaborator Author

@yito88 yito88 Jun 28, 2024

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

];

let mut hermes = run_hermes_cmd(test_a, args, Some(120))?;
let mut hermes = run_hermes_cmd(test_a, args, Some(240))?;
Copy link
Collaborator Author

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,
Copy link
Collaborator Author

@yito88 yito88 Jun 28, 2024

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
Copy link

codecov bot commented Jun 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.92%. Comparing base (879a326) to head (900e162).
Report is 4 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

@yito88 yito88 force-pushed the yuji/ibc-e2e-config branch from dcfe259 to 52adb35 Compare June 28, 2024 11:33
@yito88 yito88 requested a review from brentstone June 28, 2024 12:44
@yito88 yito88 marked this pull request as ready for review June 28, 2024 12:46
brentstone added a commit that referenced this pull request Jul 2, 2024
* yuji/ibc-e2e-config:
  longer interval
  add changelog
  clear on start
  change IBC e2e test config
brentstone added a commit that referenced this pull request Jul 2, 2024
* yuji/ibc-e2e-config:
  longer interval
  add changelog
  clear on start
  change IBC e2e test config
brentstone added a commit that referenced this pull request Jul 2, 2024
* yuji/ibc-e2e-config:
  longer interval
  add changelog
  clear on start
  change IBC e2e test config
brentstone added a commit that referenced this pull request Jul 3, 2024
* yuji/ibc-e2e-config:
  longer interval
  add changelog
  clear on start
  change IBC e2e test config
@brentstone brentstone mentioned this pull request Jul 3, 2024
brentstone added a commit that referenced this pull request Jul 4, 2024
* origin/yuji/ibc-e2e-config:
  longer interval
  add changelog
  clear on start
  change IBC e2e test config
@brentstone brentstone merged commit 867d3a3 into main Jul 5, 2024
@brentstone brentstone deleted the yuji/ibc-e2e-config branch July 5, 2024 21:16
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.

3 participants