-
Notifications
You must be signed in to change notification settings - Fork 4
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
Split Secrets and Vault Command Tests into Separate Files #80
Comments
Came out of MatrixAI/Polykey#266 (comment) |
Recommend doing this as well:
|
The tests will require different NodeIds to work. |
@emmacasolin is this done as part of MatrixAI/Polykey#374? |
Not all of it. I only split the client service tests so the bin tests still need doing. There are also missing tests for some of the client and agent vaults/secrets service handlers, and this might be the case for the bin tests as well. Specifically, the missing tests are for
And although not part of the vaults domain there are also no tests for these (although they might be added in the Testnet Deployment PR?)
|
Ok so those are just missing tests, that's a different issue. Only the bin tests still need to be split, and once split, this issue can be resolved. |
Can address this next sprint 23. |
This is quick but also very low priority right now. |
Can be done during CLI factoring out. |
Vaults tests are the slowest tests on the CI right now. I'm considering working on this sooner rather than later. I also need to look into optimising the vaults code. It is very slow when doing vault operations. Hopefully it's a problem with our code and not isomorphic git. |
This is moved into PK CLI because only 2 things in the spec are relevant now to the PK CLI since the bin was factored out. Vaults tests is a separate problem. |
Specification
tests/bin/secrets/secrets.test.ts
(every secrets bin command should have its own test file located intests/bin/secrets
andsecrets.test.ts
can be removed)tests/bin/vaults/vaults.test.ts
(every vaults bin command should have its own test file located intests/bin/vaults
andvaults.test.ts
can be removed)tests/client/rpcVaults.test.ts
(every vaults client service handler should have its own test file located intests/client/service
andrpcVaults.test.ts
can be removed)tests/agent/GRPCClientAgent.test.ts
(every vaults agent service handler should have its own test file located intests/agent/service
and all vaults-related tests can be removed fromGRPCClientAgent.test.ts
)Additional context
Tasks
The text was updated successfully, but these errors were encountered: