Skip to content

Commit

Permalink
skip tsan test for GarbageCollector for libc++
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid committed Aug 20, 2024
1 parent f06ef06 commit 901a19f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/concurrent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

- [bounded_queue](bounded_queue.md)
- [counter](counter.md)
- [epoch](epoch.md)
- [execution_queue](execution_queue.md)
- [garbage_collector](garbage_collector.md)
- [id_allocator](id_allocator.md)
- [object_pool](object_pool.md)
- [thread_local](thread_local.md)
Expand Down
3 changes: 3 additions & 0 deletions test/concurrent/test_garbage_collector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ TEST_F(GarbageCollectorTest, wait_reclaim_on_destroy) {
ASSERT_EQ(1, Reclaimer::times);
}

#if !_LIBCPP_VERSION && !ABSL_HAVE_THREAD_SANITIZER

TEST_F(GarbageCollectorTest, accessor_block_further_reclaim) {
::std::promise<void> p1;
auto f1 = p1.get_future();
Expand Down Expand Up @@ -121,3 +123,4 @@ TEST_F(GarbageCollectorTest, block_retire_when_queue_overflow) {
gc.stop();
ASSERT_EQ(2048, Reclaimer::times);
}
#endif // !_LIBCPP_VERSION && !ABSL_HAVE_THREAD_SANITIZER

0 comments on commit 901a19f

Please sign in to comment.