SIGN IN SIGN UP

Add try-before-set tests for DataSink in DebugEvent and LogDelegateIntermediateOutput (#9762)

### Summary
Fixes #9551 

Reset ETDumpGen instances in each test iteration to avoid shared state
to correctly trigger ET_EXPECT_DEATH when no DataSink is set.

### Test plan
buck2 run devtools/etdump/tests:etdump_test --

---------

Co-authored-by: Gasoonjia <gasoonjia@meta.com>
Z
Zuby A committed
354c57e4e624bfbbeb99440d9479948d542d8d95
Parent: 97bb055
Committed by GitHub <noreply@github.com> on 4/1/2025, 5:06:33 PM