Skip to content

Commit

Permalink
Change self-dial test name, describe this test in TESTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Jun 21, 2019
1 parent a9685d3 commit 1c64a3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion pkg/dmsg/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pkg/dmsg/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 1c64a3d

Please sign in to comment.