Skip to content

Commit

Permalink
Fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
moraygrieve committed Jan 22, 2025
1 parent 5c4c0c8 commit 2ed3e34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/ten/ten_cor_027/Input/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function task() {
log(`Log transfer sender = ${decoded_log.sender}`)
log(`Log transfer receiver = ${decoded_log.receiver}`)
log(`Log transfer amount = ${decoded_log.amount.toNumber()}`)
log(`Event log received`)
});
}

Expand Down
2 changes: 2 additions & 0 deletions tests/ten/ten_cor_027/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def execute(self):
# send native from the L2 to the L1
self.log.info('Send native from L2 to L1')
accnt1.l2.send_native(accnt1.l1.account.address, transfer_back)
self.waitForGrep(file='query_l1.log', expr='Event log received', condition='==1', timeout=20)
self.waitForGrep(file='query_l2.log', expr='Event log received', condition='==1', timeout=20)

# we should see the logs from both of the value transfer events
expr_list = []
Expand Down

0 comments on commit 2ed3e34

Please sign in to comment.