summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-07-17 23:16:44 +0000
committerandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-07-17 23:16:44 +0000
commit8bd216f982a7ecd65fef95db7a40bc034d2062bd (patch)
tree3ca06776ff2b16e47fae067f2fd3897e7ac26959 /modules
parent9ae7d44896eeb88cb5dd4a7baf805607436ce7e0 (diff)
downloadwebrtc-8bd216f982a7ecd65fef95db7a40bc034d2062bd.tar.gz
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
Diffstat (limited to 'modules')
-rw-r--r--modules/audio_processing/utility/ring_buffer_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/audio_processing/utility/ring_buffer_unittest.cc b/modules/audio_processing/utility/ring_buffer_unittest.cc
index 5dacf0b8..f5c36c2a 100644
--- a/modules/audio_processing/utility/ring_buffer_unittest.cc
+++ b/modules/audio_processing/utility/ring_buffer_unittest.cc
@@ -52,8 +52,8 @@ static int CheckIncrementingData(int* data, int num_elements,
// 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);