Commit 6b1f23b
Fix takeover recovery test teardown under TSan
Summary: Drive the recovered thrift server in the takeover recovery tests before tearing down the `EdenServer`. `performCleanup()` returns false after a failed takeover and relies on the main Eden loop to call `serve()` again so `createThriftServer()` can complete. The tests were skipping that production step, leaving detached recovery work live during object destruction.
Reviewed By: genevievehelsel
Differential Revision: D116107409
fbshipit-source-id: 72f2560d90f832d8b2130c39ad9c7035476af2a01 parent 95bda85 commit 6b1f23b
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
344 | 348 | | |
345 | 349 | | |
346 | 350 | | |
| |||
354 | 358 | | |
355 | 359 | | |
356 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
357 | 366 | | |
358 | 367 | | |
359 | 368 | | |
| |||
0 commit comments