chroma icon indicating copy to clipboard operation
chroma copied to clipboard

Apply Hypothesis tests as integration tests

Open levand opened this issue 2 years ago • 1 comments

Description of changes

  • Add fixtures required to run Hypothesis tests as integration tests
  • Includes both local FastAPI server test and Dockerized integration tests

Includes two code fixes:

  • Correctly propagate Python error types over the REST API.
  • Use more robust SQL parametrization to handle escape characters in documents and metadata.

Test plan

These are the tests.

Documentation Changes

N/A

levand avatar Apr 20 '23 17:04 levand

Latest test failure was a 503 error from PyPi. Simply re-running in this case since I'm assuming that's pretty transient...

levand avatar May 01 '23 15:05 levand