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
This commit is contained in:
parent
4f5da030f1
commit
c145668dc8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user