commit | c145668dc8333a9988159cce9c9d8ff0149db1ae | [log] [tgz] |
---|---|---|
author | andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Thu Jul 17 23:16:44 2014 |
committer | andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Thu Jul 17 23:16:44 2014 |
tree | ce166f17ca04d5d9a387181439504048fb1e4d90 | |
parent | 4f5da030f159ec802ace5d11b3bb28e918197703 [diff] [blame] |
Reduce runtime of RingBufferTest by a factor of 100. This test was needlessly long. TBR=pbos Review URL: https://webrtc-codereview.appspot.com/15029004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6724 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_processing/utility/ring_buffer_unittest.cc b/webrtc/modules/audio_processing/utility/ring_buffer_unittest.cc index 5dacf0b..f5c36c2 100644 --- a/webrtc/modules/audio_processing/utility/ring_buffer_unittest.cc +++ b/webrtc/modules/audio_processing/utility/ring_buffer_unittest.cc
@@ -52,8 +52,8 @@ // We use ASSERTs in this test to avoid obscuring the seed in the case of a // failure. static void RandomStressTest(int** data_ptr) { - const int kNumTests = 100; - const int kNumOps = 10000; + const int kNumTests = 10; + const int kNumOps = 1000; const int kMaxBufferSize = 1000; unsigned int seed = time(NULL);