fix ASAN stl_tests:stl_vector_test
authorNathan Bronson <ngbronson@fb.com>
Fri, 22 Sep 2017 19:01:30 +0000 (12:01 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 22 Sep 2017 19:05:56 +0000 (12:05 -0700)
commitaee7113e8140c5b873c56be29a429acdbb9a5268
tree3885f0431cb876aaa0eb00eee5032f6727700391
parenta55a0eb4dbc89e31a34ad5341cd7d4673d5ebe3c
fix ASAN stl_tests:stl_vector_test

Summary:
folly/test/stl_tests/StlVectorTest.cpp was too slow under
mode/dev-asan, resulting in timeouts, and the relinquish test allocated
with malloc and freed with operator delete.  This diff reduces the vector
size for testing under ASAN, and fixes the allocation mismatch.

Reviewed By: Orvid

Differential Revision: D5890969

fbshipit-source-id: 49a9498f6c0c4b3c7165906efd1262e518fea810
folly/test/stl_tests/StlVectorTest.cpp