summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-02-11 02:49:13 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-02-11 02:49:13 +0200
commit4a3e32e732e5fce6ecc02c15ef8966363f5a8f76 (patch)
treefc4a46b02d50fa297466eb7157da554a9432f8a7
parent661d59596723e519466e7a5ce3d9742bcc544211 (diff)
SL-14807 Adjusted unit test
-rw-r--r--indra/llmessage/llcoproceduremanager.cpp2
-rw-r--r--indra/llmessage/tests/llcoproceduremanager_test.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/indra/llmessage/llcoproceduremanager.cpp b/indra/llmessage/llcoproceduremanager.cpp
index 850d4da74f..c50d2bfd41 100644
--- a/indra/llmessage/llcoproceduremanager.cpp
+++ b/indra/llmessage/llcoproceduremanager.cpp
@@ -184,7 +184,7 @@ LLUUID LLCoprocedureManager::enqueueCoprocedure(const std::string &pool, const s
{
// initializing pools in enqueueCoprocedure is not thread safe,
// at the moment pools need to be initialized manually
- LL_ERRS() << "Uninitialized pool " << name << LL_ENDL;
+ LL_ERRS() << "Uninitialized pool " << pool << LL_ENDL;
}
poolPtr_t targetPool = it->second;
diff --git a/indra/llmessage/tests/llcoproceduremanager_test.cpp b/indra/llmessage/tests/llcoproceduremanager_test.cpp
index 9db13a37b5..6424117ef3 100644
--- a/indra/llmessage/tests/llcoproceduremanager_test.cpp
+++ b/indra/llmessage/tests/llcoproceduremanager_test.cpp
@@ -91,6 +91,7 @@ namespace tut
{
Sync sync;
int foo = 0;
+ LLCoprocedureManager::instance().initializePool("PoolName");
LLUUID queueId = LLCoprocedureManager::instance().enqueueCoprocedure("PoolName", "ProcName",
[&foo, &sync] (LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t & ptr, const LLUUID & id) {
sync.bump();