Skip to content

Commit b44c49d

Browse files
committed
#5 improve bug description
1 parent c3e883c commit b44c49d

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/test/java/bugreports/ConnectPeersMultiHopTest.java

+10-8
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.
25-
*
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.
26+
* <p>
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.
30-
*
31-
* At the second test, clara handles the connection after the message from alice was received by bob.
28+
* <p>
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+
* <p>
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)