Skip to content

Commit

Permalink
Add description for server_disconnect_should_close_transports, `ser…
Browse files Browse the repository at this point in the history
…ver_disconnect_should_close_transports_while_communication_is_going_on`
  • Loading branch information
Darkren committed Jun 21, 2019
1 parent 1c64a3d commit 0dc1c5e
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions pkg/dmsg/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Note that even though `messaging-discovery` is also considered to be an entity o
**`reconnect_to_server_should_succeed`**

- Given:
- clientA and clientB is connected to a server.
- clientA and clientB are connected to a server.
- When:
- The server restarts.
- Then:
Expand All @@ -43,7 +43,26 @@ Note that even though `messaging-discovery` is also considered to be an entity o

**`server_disconnect_should_close_transports`**

- TODO
- Given:
- clientA and clientB are connected to a server
- clientB dials clientA
- clientA accepts connection
- Transports are being created
- Some read/write operations are performed on transports
- Server disconnects
- Then:
- Transports should be closed

**`server_disconnect_should_close_transports_while_communication_is_going_on`**
- Given:
- clientA and clientB are connected to a server
- clientB dials clientA
- clientA accepts connection
- Transports are being created
- Read/write operations are being performed
- Server disconnects
- Then:
- Transports should be closed

**`self_dial_should_work`**

Expand Down

0 comments on commit 0dc1c5e

Please sign in to comment.