diff --git a/util/sync_point.h b/util/sync_point.h index 3e880213e..b4b61a9fc 100644 --- a/util/sync_point.h +++ b/util/sync_point.h @@ -11,12 +11,12 @@ #include #include -namespace rocksdb { - #ifdef NDEBUG #define TEST_SYNC_POINT(x) #else +namespace rocksdb { + // This class provides facility to reproduce race conditions deterministically // in unit tests. // Developer could specify sync points in the codebase via TEST_SYNC_POINT.