Commit c457165
fix(test): restore BackupServerTest to original intent with members and sleep
Keep backupMembers configured so initServer() actually starts the server,
preserving the test's original purpose of verifying start+close lifecycle.
Thread.sleep(1000) ensures channel is assigned before @after tearDown()
calls close(), avoiding the race. BackupServer.java is already reverted to
develop original so no production code is changed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9b086dd commit c457165
1 file changed
Lines changed: 9 additions & 3 deletions
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
| |||
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 46 | + | |
| 47 | + | |
44 | 48 | | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
0 commit comments