Skip to content
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

Service testing #22

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Service testing #22

wants to merge 6 commits into from

Conversation

andrewramsay
Copy link
Contributor

This is a collection of fixes for a few problems I found while doing some more testing of the service, particularly with multiple simultaneous clients connected:

  • The database class now creates a cursor per-query instead of reusing the same one as that breaks when multiple threads are accessing it
  • Added a test which will spawn 10 validator clients and run them all against the service
  • gRPC exceptions can contain useful info about exceptions on the server side so those are now logged
  • Added a couple of extra checks on the run file JSON structure (+tests)
  • Updated the README with some examples of different parameter combinations

This branch should merge cleanly on top of the grpc_timeout branch from #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant