Bug 929985 - Reduce aggregate batch transaction stress test iterations in TestTXMgr.cpp for Android and ASAN; r=ehsan

This commit is contained in:
Dan Minor 2013-11-08 08:38:39 -05:00
parent 386e502056
commit ed1124fa76

View File

@ -4577,11 +4577,16 @@ aggregation_batch_stress_test()
int32_t iterations =
#ifdef DEBUG
10
#else
#if defined(MOZ_ASAN) || defined(MOZ_WIDGET_ANDROID)
// See Bug 929985: 500 is too many for ASAN and Android, 100 is safe.
100
#else
//
// 500 iterations sends 2,630,250 transactions through the system!!
//
500
#endif
#endif
;
return stress_test(&factory, iterations);