-
Notifications
You must be signed in to change notification settings - Fork 215
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
Test Plan For Vat Upgrades #10646
Comments
Common OperationsWe see that there are some common operations we will be using to test some of the vats above. For example; opening a vault is common for the vats below;
Should we merge the tests that are common across multiple vats?
|
How much weight should be given to tests that require a core-eval to setup?Some tests require core evals to setup its environment. For example, to write to To execute a core eval in test nets MIGHT present a problem, depending on the test we are running our tests against. The conditions that enable running core-evals for testing;
For test networks above conditions hold, it's possible to include the tests that require a core-eval. Let's say above conditions hold for Xnet and does not hold for Emerynet (I suspect this is truly the case). What should we do? NoteThe tests that require core eval are already included in |
Common test happy path (WIP)High level test plan
cc: @anilhelvaci |
Another consideration that pushes us more toward duplication is that the tests sometimes get run separately. In that case, it's very useful to have the test duplicated. The usual approach to this is to just expect duplication, but when we find an individual test that takes a long time, we'll look for ways to combine copies of it. |
This goes in the category of manual testing. I don't think we need to repeat all the tests in every environment. If there's a reason to expect issues, it might be worth checking, but if we can write (and follow) a test plan that provides evidence that the upgrades we wanted actually ran, we don't need to re-test all the functionality. Opinions, @otoole-brendan, @LuqiPan @turadg? |
What is the Problem Being Solved?
Upgrade 19 is planned to include to upgrading the vats below;
On-going
We need a plan for testing all these vats above in Emerynet and any other test nets that are required. These test plans should take into account the differences of testnets compared to a local a3p node;
bankSend
in a3p as to the nature of the faucet availableDescription of the Design
Filling the issued listed below with a test scenario and its form of execution (manually, with a script or a mix of both).
Tasks
Security Considerations
Having a comprehensive test coverage is crucial for the chain's health. So we should pay the highest attention that we can when building the test scenarios.
Scaling Considerations
Since the vats being upgraded form a part of the agoric chain's foundation in terms of functionality, any error here would block further improvement.
Test Plan
Build test plans for each individual vat. If there are occasions where multiple vats are interconnected in terms of testing their functionality, we might consider coupling those together in one test scenario.
For convenience, I believe it would be useful to have a pool of accounts to use as our clients when testing. Also for the operations that we plan to carry out using scripts, we probably need a place to put that code. Maybe a new and smalll repository? Not sure how this could go down. Could use some help @LuqiPan
The text was updated successfully, but these errors were encountered: