Add extra testing for nodes claims process #242
Labels
development
Standard development
enhancement
New feature or request
r&d:polykey:core activity 3
Peer to Peer Federated Hierarchy
Specification
Currently, there only exists a success test (for both client-side and server-side) and a couple of exception tests (for the server-side, in
GRPCClientAgent.test.ts
). Ideally, this should be extended for all possible exceptions on the server-side, and any other potential problems that can arise during this process. (This was originally omitted due to time constraints - it's slightly tedious and time-consuming to write these larger scale tests.)Furthermore, it would be worthwhile to further investigate the possibility of mocking the server-side such that we can introduce more granular testing of the client side process.
Additional context
timedCancellable
toSigchain
such as the deadline in nodes claim process #243 - Adding in deadlines to the nodes claim processTasks
GRPCClientAgent.test.ts
NodeManager.test.ts
/NodeConnection.test.ts
)The text was updated successfully, but these errors were encountered: