diff --git a/pkg/dmsg/TESTING.md b/pkg/dmsg/TESTING.md index e4e894cbd2..5aac366cc5 100644 --- a/pkg/dmsg/TESTING.md +++ b/pkg/dmsg/TESTING.md @@ -47,7 +47,12 @@ Note that even though `messaging-discovery` is also considered to be an entity o **`self_dial_should_work`** -- TODO +- Given: + - clientA is connected to a server + - clientA dials himself +- Then: + - clientA accept connections, transports are being created successfully + - clientA is able to write/read to/from transports without errors ### Fuzz testing diff --git a/pkg/dmsg/server_test.go b/pkg/dmsg/server_test.go index bfd236707a..fee908fc5c 100644 --- a/pkg/dmsg/server_test.go +++ b/pkg/dmsg/server_test.go @@ -748,7 +748,7 @@ func TestServer_Serve(t *testing.T) { require.NoError(t, err) }) - t.Run("test client's self-dialing", func(t *testing.T) { + t.Run("self_dial_should_work", func(t *testing.T) { // generate keys for the client aPK, aSK := cipher.GenerateKeyPair()