MB-19204: Remove alarm() call from atomic_ptr_test, reduce iteration count 06/62906/2
authorDave Rigby <daver@couchbase.com>
Thu, 14 Apr 2016 11:14:39 +0000 (12:14 +0100)
committerChiyoung Seo <chiyoung@couchbase.com>
Fri, 22 Apr 2016 07:00:57 +0000 (07:00 +0000)
commit1b1c0f40df63c8676280d624efb03a7f599858f0
treea1c59b2a65d82cdca250648103a14514e62b4bc9
parente91aef6640311454d7336c1de67881e6f20cb00c
MB-19204: Remove alarm() call from atomic_ptr_test, reduce iteration count

This test runs slower under ThreadSanitizer than normal. Given we
already have CTest enforcing timeouts, remove the explicit alarm calls
and handle the timeout at the CTest level.

Also reduce the iteration count by 10x, so the test runs in a more
resonable time.

Change-Id: Ia6914c10a3073f5fea121cb7e600568ca5081beb
Reviewed-on: http://review.couchbase.org/62906
Tested-by: buildbot <build@couchbase.com>
Well-Formed: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
tests/module_tests/atomic_ptr_test.cc