terraform-genai-knowledge-base icon indicating copy to clipboard operation
terraform-genai-knowledge-base copied to clipboard

[testing] Test webhook on deployed infrastructure

Open davidcavazos opened this issue 11 months ago • 1 comments

Currently the tests are running locally in pytest.

There should be an additional test that deploys the webhook into Cloud Functions along with the Eventarc trigger, and it should simply upload a document and wait for a successful processing. This test would fail if a code change or dependency upgrade requires more memory in the Cloud Function deployment.

The existing "local" test is still useful to get logs for debugging.

davidcavazos avatar Mar 09 '24 13:03 davidcavazos