-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Is your feature request related to a problem?
As additional language support is added to this repository we require a more robust way to test the generated artifacts. While we likely do not need comprehensive integration tests for these client libraries it may make sense to ensure a few basic features are working to catch any alarming regressions which might break compatibility with the associated OpenSearch snapshot.
- Can we install these artifacts?
- Can we establish a gRPC connection with each service stub?
- Can we build and make a successful bulk request with some test documents?
- Can we search these documents with a basic query?
What solution would you like?
I would propose we introduce a docker compose configuration which pulls the most recent OS snapshot container and starts a single node cluster with gRPC. For each language we support we can build and install it in a separate client container and execute a small test script which runs the above operations.
What alternatives have you considered?
Running similar tests on a regular basis in opensearch-build repo which execute against the min distribution. There are already smoke tests here so it would be an intuitive place to add more, however developers would have a bit more difficulty testing immediate changes they are making to proto schemas or client libraries.