Conversation
2559325 to
290d84b
Compare
this means to prevent the duplicate work on refactoring test or just cannot adapt for current CKB implementation? |
|
290d84b to
7b2b283
Compare
|
The new commits using
|
ada74f8 to
25ba9ef
Compare
c8f79ce to
2a9e93d
Compare
|
the event log doubled like this:
this is because the CI runs two test cases at the same time and we cannot distinguish what errors belong to which one. NOTE: passed CI tests are not really passed because errors are printed but tests result in success. this problem can be found in our previous merged PRs as well like here. |
Not ture, of course these CI are passed, the error messages are raised from I have already clarified this known issue from an early PR: #308 (comment)
Please lookup from the error backtrace, it only affects the monitor fetching events operations. Here is another example failed CI, if the error happend within the test case instead of the monitor, it will exit with a failure status. You need to find the first error output, which is raised from the test thread, not the monitor's error output. https://github.com/synapseweb3/forcerelay/actions/runs/6182356419/job/16781928376
|
I also found errors from monitor in Axon endpoint, and the monitor is essential for completing the watch of on-chain events and forward them to Hermes runtime to push the procedure, if it occurs errors, I think the procedure would be stopped.
this problem that I guess is caused by the usage of GLOBAL variables which store the association of IBC connection, channel, and packet with their Axon transactions' hash, I'm not sure whether running two parallel test cases in one instance would access these global variables at same time, which brings CACHE problem. |
I see, I will look into this issue. We could check the monitor thread status and raise an error from the test thread if the monitor is crashed.
This is fixed in 412743c by run tests in single thread. The monitor crash issue is already introduced, so IMO we should fix it in another PR. Do you think we can merge this PR? |
it's ok to me for the merge |
| sender, | ||
| recipient, | ||
| token, | ||
| None, |
There was a problem hiding this comment.
Is it possible to use timeout as the arg now?
There was a problem hiding this comment.
not yet for Axon, it's already under my consideration


Description
Add new ibc test
TransferTest.This test only works with Axon chains. (CKB should be added after the contract refactory).
This test sends a IBC call from chain A to chain B, then checks there is a
SendPacketevent happend on chain A and aReceivePacketevent happend on chain B.