| commit | 8bd216f982a7ecd65fef95db7a40bc034d2062bd | [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 | 3ca06776ff2b16e47fae067f2fd3897e7ac26959 | |
| parent | 9ae7d44896eeb88cb5dd4a7baf805607436ce7e0 [diff] |
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/webrtc@6724 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/modules/audio_processing/utility/ring_buffer_unittest.cc b/modules/audio_processing/utility/ring_buffer_unittest.cc index 5dacf0b..f5c36c2 100644 --- a/modules/audio_processing/utility/ring_buffer_unittest.cc +++ b/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);