diff options
Diffstat (limited to 'cpp/test/IceUtil/thread/StartTest.cpp')
-rw-r--r-- | cpp/test/IceUtil/thread/StartTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/test/IceUtil/thread/StartTest.cpp b/cpp/test/IceUtil/thread/StartTest.cpp index 1a7f180db93..492b3c30531 100644 --- a/cpp/test/IceUtil/thread/StartTest.cpp +++ b/cpp/test/IceUtil/thread/StartTest.cpp @@ -48,16 +48,14 @@ StartTest::run() StartTestThreadPtr t = new StartTestThread(); ThreadControl control = t->start(); control.join(); - bool gotException = false; try { t->start(); + test(false); } catch(const ThreadStartedException&) { - gotException = true; } - test(gotException); // // Now let's create a bunch of short-lived threads |