diff options
author | Dave Parks <davep@lindenlab.com> | 2022-06-01 09:25:16 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-06-01 09:25:16 -0500 |
commit | 609476e607b18d303afa5f5b5eeabeca84f95d16 (patch) | |
tree | 3059d50ca77c614886160a7333d5674b32670122 /indra/llimage | |
parent | fc7b5549cb6092194d11b8d87600f21992305c1c (diff) |
SL-17484 More unit test pruning. Fix for crash when deleting textures.
Diffstat (limited to 'indra/llimage')
-rw-r--r-- | indra/llimage/tests/llimageworker_test.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/llimage/tests/llimageworker_test.cpp b/indra/llimage/tests/llimageworker_test.cpp index 57d922b1a1..d36d35aba4 100644 --- a/indra/llimage/tests/llimageworker_test.cpp +++ b/indra/llimage/tests/llimageworker_test.cpp @@ -199,12 +199,6 @@ namespace tut LLImageDecodeThread::handle_t decodeHandle = mThread->decodeImage(NULL, 0, FALSE, new responder_test(&done)); // Verifies we get back a valid handle ensure("LLImageDecodeThread: threaded decodeImage(), returned handle is null", decodeHandle != 0); - // Wait a little so to simulate the main thread doing something on its main loop... - ms_sleep(500); // 500 milliseconds - // Verifies that the responder has *not* been called yet in the meantime - ensure("LLImageDecodeThread: responder creation failed", done == false); - // Ask the thread to update: that means tells the queue to check itself and creates work requests - mThread->update(1); // Wait till the thread has time to handle the work order (though it doesn't do much per work order...) const U32 INCREMENT_TIME = 500; // 500 milliseconds const U32 MAX_TIME = 20 * INCREMENT_TIME; // Do the loop 20 times max, i.e. wait 10 seconds but no more |