Skip to content

test(manager): improve setup of flaky unit test

Niels requested to merge review/231-flaky-test into main
  1. Replace asserts with require. This will stop the test if a require does not pass. That's better because if we continue, nil pointers will occur.

  2. If the HTTP status code assertion fails, log the response body. This makes debugging easier.

Issue: #231 (closed)

Merge request reports