envoy
envoy copied to clipboard
Add timeout option for ThreadSynchronizer
Commit Message: Add timeout option for ThreadSynchronizer. Additional Description: This adds the ability for ThreadSynchronizer::barrierOn to time out, making it so a test in which the code unexpectedly doesn't hit the syncPoint can time out in 1 second with a helpful error, rather than in 300 seconds with no helpful error. Risk Level: None, test-only. Testing: Test-only. Docs Changes: Code-comments only. Release Notes: n/a Platform Specific Features: n/a