diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2008-04-10 17:43:25 +0000 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2008-04-10 17:43:25 +0000 |
commit | acc8ae40cdb2f57969ab57e1e8e6ec505a50d02b (patch) | |
tree | a996eb45ed4250bbf3575c8b0c19e568eb2e5c50 /indra/test | |
parent | 3f08a67dc62ab88ced6baae18dae6b8818de6ced (diff) |
svn merge -r84490:84497 svn+ssh://svn/svn/linden/branches/DEV-11812-3
QAR-433 make max queued size on event queue configurable
Diffstat (limited to 'indra/test')
-rw-r--r-- | indra/test/llmessageconfig_tut.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/indra/test/llmessageconfig_tut.cpp b/indra/test/llmessageconfig_tut.cpp index 086dbf4ef8..c2329220e5 100644 --- a/indra/test/llmessageconfig_tut.cpp +++ b/indra/test/llmessageconfig_tut.cpp @@ -221,4 +221,21 @@ namespace tut LLMessageConfig::onlySendLatest("msg2"), false); } + + template<> template<> + void LLMessageConfigTestObject::test<9>() + // tests that event queue max is reloaded + { + LLSD config; + config["maxQueuedEvents"] = 200; + LLMessageConfig::useConfig(config); + ensure_equals("Ensure setting maxQueuedEvents", + LLMessageConfig::getMaxQueuedEvents(), + 200); + + LLMessageConfig::useConfig(LLSD()); + ensure_equals("Ensure default of event queue max 100", + LLMessageConfig::getMaxQueuedEvents(), + 100); + } } |