elastic / elasticsearch-serverless-python

Official Python client for Elasticsearch Serverless
Apache License 2.0
9 stars 4 forks source link

Integration test runner #12

Closed JoshMock closed 1 year ago

JoshMock commented 1 year ago

Gets integration test suite running, including fixing a few bugs due to copy/pasting from the stack client. And adds a Buildkite pipeline for it.

Several pieces of stack-specific functionality have been removed from tests, and dependence on an API key has been added to properly reflect Serverless.

Not all of these test pass yet. Many async tests are flaky due to setup/teardown issues in the ES instance, mapbox vector tile tests fail because I need to regenerate the API from latest spec changes, and there are a few places where I haven't landed on the best way to refresh indices. I'll fix these issues in separate PRs.

A couple secrets still need to be created in the CI Vault instance:

I can't create them until this merges because https://github.com/elastic/catalog-info/pull/558 needs the catalog-info.yaml file created in this PR.