Skip to content

Commit ad7bcab

Browse files
author
Rafał Hibner
committed
Fix tsan error in test
1 parent 068060d commit ad7bcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/arrow/dataset/dataset_writer_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class DatasetWriterTestFixture : public testing::Test {
233233
util::AsyncTaskScheduler* scheduler_;
234234
Future<> scheduler_finished_;
235235
FileSystemDatasetWriteOptions write_options_;
236-
bool paused_{false};
236+
std::atomic_bool paused_{false};
237237
uint64_t counter_ = 0;
238238
};
239239

0 commit comments

Comments
 (0)