diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-12-09 14:18:25 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-12-09 14:18:25 +0000 |
commit | d30df2cdc5580affa56eb6ca5ab2ab4145aa112c (patch) | |
tree | 7249dd679fd9ef28505e37495dfb2bfc3c191b09 /storage | |
parent | 800c53c580717f7f1d8bcc02d31235ac6d3673d2 (diff) |
Add init_fun to vespalib::Thread too to figure out what the thread is used for.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/tests/persistence/filestorage/operationabortingtest.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/src/tests/persistence/filestorage/operationabortingtest.cpp b/storage/src/tests/persistence/filestorage/operationabortingtest.cpp index a3f0182ba30..ffd7d804663 100644 --- a/storage/src/tests/persistence/filestorage/operationabortingtest.cpp +++ b/storage/src/tests/persistence/filestorage/operationabortingtest.cpp @@ -22,6 +22,8 @@ namespace storage { namespace { +VESPA_THREAD_STACK_TAG(test_executor); + // Exploit the fact that PersistenceProviderWrapper already provides a forwarding // implementation of all SPI calls, so we can selectively override. class BlockingMockProvider : public PersistenceProviderWrapper @@ -294,7 +296,7 @@ TEST_F(OperationAbortingTest, wait_for_current_operation_completion_for_aborted_ auto abortCmd = makeAbortCmd(abortSet); SendTask sendTask(abortCmd, *_queueBarrier, c.top); - vespalib::Thread thread(sendTask); + vespalib::Thread thread(sendTask, test_executor); thread.start(); LOG(debug, "waiting for threads to reach barriers"); |