Closed avolokhov closed 4 years ago
Saw one quick follow up I can make.
Failure was warning on 5.3:
02:23:25 /code/Tests/SWIMTests/SWIMInstanceTests.swift:731:9: error: using '_' to ignore the result of a Void-returning function is redundant
02:23:25 _ = swim.onEveryPingRequestResponse(.nack(target: secondPeer, sequenceNumber: 1), pingedMember: secondPeer)
02:23:25 ^~~~
We have a few tests checking that if
onEveryPingRequestResponse
is called, LHM will be adjusted accordingly. This tests will ensure thatSWIMNIOShell
properly propagates ping request responses and callonEveryPingRequestResponse
on every PingRequestResponseMotivation:
Tests are nice.
Modifications:
SWIMNIOEmbeddedTests
will have some additional helper methods and a few new tests checking.nack
handlingResult: