network icon indicating copy to clipboard operation
network copied to clipboard

test(dht): Test WebSocket client recovery

Open mondoreale opened this issue 2 years ago • 3 comments

Summary

Test the WebSocket client recovery in 3 scenarios:

  • Normal hiccup where the WebSocket connection closes randomly between sending messages.
  • Pre-handshake failure where the WebSocket connection closes right after getting up.
  • Pre-handshake failure where the WebSocket connection fails to get up at first attempt.

The aim is to make sure further messages are capable of reestablishing the lost connection.

mondoreale avatar Nov 20 '23 13:11 mondoreale

Will fix that validation step shortly!

mondoreale avatar Nov 20 '23 14:11 mondoreale

The new tests are green but it looks like other things "dht" do fail now.

mondoreale avatar Nov 20 '23 15:11 mondoreale

Moved it to unit tests.

mondoreale avatar Nov 22 '23 11:11 mondoreale