lakeFS icon indicating copy to clipboard operation
lakeFS copied to clipboard

test: Fixes intermittent test failure related to CosmosDB

Open nopcoder opened this issue 8 months ago • 2 comments

Closes #8659

  • Updated the TestCosmosDB function to include t.Helper() for better test helper function behavior.
  • Improved error logging to include raw response data for better debugging.
  • Added new environment variables for the CosmosDB emulator to disable data persistence and rate limiting.
  • Captured and logged the CosmosDB emulator container output for better debugging.
  • Refactored the HTTP client initialization only once.

nopcoder avatar Feb 16 '25 09:02 nopcoder