-
Notifications
You must be signed in to change notification settings - Fork 123
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
fix(v7): prevent concurrent hermes operations on the same chain #1099
fix(v7): prevent concurrent hermes operations on the same chain #1099
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
b102b5d
to
6529729
Compare
After multiple re-runs I can not get the unit test or test-ibc-examples w/ hermes to pass here |
o i probably broke something; i think i'll also have to bump a timeout |
6529729
to
c559a10
Compare
i think the tests should be good now, they're just currently failing with that transient block.db thing |
If it's not too much to ask could you possibly remove this line that is inside of the intermittently failing test case? interchaintest/examples/ibc/ics_test.go Line 101 in 2d9495c
I thought we had gone through the example test cases and either removed all of these lines or commented them out so that readers could at least see that this was an option. It's not ideal to use in CI because it leads to these weird intermittent failures due to resource contention around the sqlite database file that is used in the blockdb |
Allowing them can result in "hermes create ..." commands failing because there's sequence numbers being modified by simultaneous commands.
0a0ef59
to
cc61463
Compare
This can break in CI
cc61463
to
d34551e
Compare
Summary
Allowing concurrent ops can result in
hermes create ...
commands failing because there's sequence numbers being modified by simultaneous commands. This PR adds per-chain locks that must be acquired to e.g. create a connection or channel