Halibut icon indicating copy to clipboard operation
Halibut copied to clipboard

Improved the tests for WebSocket polling

Open droyad opened this issue 3 years ago • 0 comments

This shores up the tests for WebSockets:

  • Clarified which certificate was "wrong" by creating a dedicated certificate for that purpose
  • Improved assertions to check the message as well -> tests were passing even if certificate was valid due to another error
  • Added tests that check for failure on invalid certificates when using WebSocket polling
  • Removed inconclusive test assertion in favour of using compiler flag to toggle it in. Makes it clearer when these tests run

droyad avatar Sep 07 '22 03:09 droyad