Skip to content

Commit c16045e

Browse files
committed
2 parents d0cce3b + 8e3a4d4 commit c16045e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/test/java/bugreports/ConnectPeersMultiHopTest.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@
2020

2121

2222
/**
23-
* This Test is a bug report for sending multi-hop messages.
24-
* There are three peers: Alice, Bob, and Clara. Alice and Clara are connected to Bob.
23+
* This class is a bug report for sending multi-hop messages.
24+
* There are three peers: Alice, Bob, and Clara. Alice and Clara are connected to Bob,
25+
* but Alice and Clara aren't connected to each other directly.
2526
*
2627
* Alice sends a message to Bob, and Bob forwards it to Clara.
27-
* The first test shows the bug.
28-
* If the message is sent after alice and clara have established a connection to bob and handled it, the message is
29-
* only received by Bob and is not forwarded to Clara.
3028
*
31-
* At the second test, clara handles the connection after the message from alice was received by bob.
29+
* The first test demonstrates the bug:
30+
* If the message is sent after Alice and Clara have established connections to Bob and handled the encounter,
31+
* the message is only received by Bob and is not forwarded to Clara.
32+
*
33+
* At the second test, clara handles the connection to Bob after the message from Alice was received by Bob.
3234
* The message is received by Bob and forwarded to Clara.
3335
*/
3436
public class ConnectPeersMultiHopTest {

0 commit comments

Comments
 (0)