You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With most of our features being available in serverless Observability projects we should have some test automation in place to make sure it doesn't break without us noticing.
Adding tests for serverless is the same as adding tests for stateful but in a different folder xpack/test_serverless/functional/test_suites/observability but these test suites cannot rely on any test tools available in stateful tests.
So we need to decide on either duplicating all of our setup and helper code or extract that code into packages and refactor the existing stateful tests to use those packages instead before adding serverless tests.
Notes
While testing ELSER (TINY_ELSER) in a Serverless project, we need to call await ml.api.assureMlStatsIndexExists();before importing the model, not after as the other (non-serverless) ML tests show.
The text was updated successfully, but these errors were encountered:
Summary
With most of our features being available in serverless Observability projects we should have some test automation in place to make sure it doesn't break without us noticing.
Adding tests for serverless is the same as adding tests for stateful but in a different folder
xpack/test_serverless/functional/test_suites/observability
but these test suites cannot rely on any test tools available in stateful tests.So we need to decide on either duplicating all of our setup and helper code or extract that code into packages and refactor the existing stateful tests to use those packages instead before adding serverless tests.
Notes
While testing ELSER (TINY_ELSER) in a Serverless project, we need to call
await ml.api.assureMlStatsIndexExists();
before importing the model, not after as the other (non-serverless) ML tests show.The text was updated successfully, but these errors were encountered: