Skip to content

Commit

Permalink
Removing obsolete test helper stress_test() - which is now in RefCoun…
Browse files Browse the repository at this point in the history
…t_unittest.
  • Loading branch information
tklein23 committed May 11, 2014
1 parent 23fd1df commit 330e995
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/unit/base/SGObject_unittest.cc
Expand Up @@ -51,21 +51,6 @@ TEST(SGObject,equals_NULL_parameter)
}
#endif //HAVE_EIGEN3

void* stress_test(void* args)
{
CBinaryLabels* labs = (CBinaryLabels* ) args;
CBinaryLabels* labs_2 = new CBinaryLabels(*labs);
for (index_t i=0; i<1000000; i++)
{
SG_REF(labs);
SG_REF(labs_2);
SG_UNREF(labs_2);
SG_UNREF(labs);
}
SG_UNREF(labs_2);
pthread_exit(0);
}

#ifdef USE_REFERENCE_COUNTING
TEST(SGObject,DISABLED_ref_copy_constructor)
{
Expand Down

0 comments on commit 330e995

Please sign in to comment.