-
Notifications
You must be signed in to change notification settings - Fork 17
test: add e2e test for data commitment window change #491
Conversation
Codecov Report
@@ Coverage Diff @@
## main #491 +/- ##
==========================================
- Coverage 25.37% 24.24% -1.13%
==========================================
Files 29 29
Lines 2834 2949 +115
==========================================
- Hits 719 715 -4
- Misses 2029 2147 +118
- Partials 86 87 +1
|
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.
this is good! but in general do you think testing this in an e2e test is something that we want to do forever? Like, could we test this in an integration or even a unit test? or is this already tested in the app? The reason being that debugging and maintaining e2e tests are more difficult than a unit or even an integration
@evan-forbes good point. It was actually per request from Mustapha. In fact, we're testing the window change in unit tests and also using the celestia node integration suite. However, we're not testing the whole behaviour of the bridge from orchestrators, to relayer, and the bridge contract. This test closes the loop. The issue is that it takes a bit of time to finish, 7 minutes or so. So, it might make sense to disable it from running with the E2E suite and make it run only manually. What do you think? |
I see! it certainly is good to do a check. Assuming its already tested in the app, and we're just interested in testing this in a one off way on an IRL network then perhaps we can do that with a script? |
@evan-forbes we could, or simply we can disable this test and keep it there for reference. What do you think? |
yeah definitely no reason to delete it. I'll defer to you on how often we run it. Thanks for going through all the effort to make sure that it works |
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.
utACK
I will merge this PR and open an issue to turn this test into a script. Thanks guys for the reviews 👍 |
Overview
Closes #485
Checklist