Disable time consuming tests when compiling with Thread Sanitizer

Merge request reports