Fix flaky tls test (#2430)
Fix flaky tls test (#2430)

* Ensure file writes are synchronous

Signed-off-by: albertteoh <6415e721fa49e16056db14873b1b34aab0366e0f@logz.io>

* Add comment

Signed-off-by: albertteoh <6415e721fa49e16056db14873b1b34aab0366e0f@logz.io>

Co-authored-by: albertteoh <6415e721fa49e16056db14873b1b34aab0366e0f@logz.io>
jpkrohling/jaeger,pavolloffay/jaeger,uber/jaeger,uber/jaeger,pavolloffay/jaeger,uber/jaeger,jpkrohling/jaeger,jpkrohling/jaeger,jpkrohling/jaeger,jaegertracing/jaeger,uber/jaeger,jaegertracing/jaeger,pavolloffay/jaeger,pavolloffay/jaeger,jpkrohling/jaeger,jaegertracing/jaeger,jaegertracing/jaeger,pavolloffay/jaeger,jaegertracing/jaeger