diff options
-rw-r--r-- | storage/src/tests/persistence/filestorage/operationabortingtest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/src/tests/persistence/filestorage/operationabortingtest.cpp b/storage/src/tests/persistence/filestorage/operationabortingtest.cpp index e9f878bfe1e..93c484368de 100644 --- a/storage/src/tests/persistence/filestorage/operationabortingtest.cpp +++ b/storage/src/tests/persistence/filestorage/operationabortingtest.cpp @@ -31,9 +31,9 @@ class BlockingMockProvider : public PersistenceProviderWrapper public: typedef std::unique_ptr<BlockingMockProvider> UP; - mutable uint32_t _bucketInfoInvocations; - uint32_t _createBucketInvocations; - uint32_t _deleteBucketInvocations; + mutable std::atomic<uint32_t> _bucketInfoInvocations; + std::atomic<uint32_t> _createBucketInvocations; + std::atomic<uint32_t> _deleteBucketInvocations; BlockingMockProvider(spi::PersistenceProvider& wrappedProvider, vespalib::Barrier& queueBarrier, |