summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/api
diff options
context:
space:
mode:
authorsammc <sammc@chromium.org>2014-08-26 02:01:11 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-26 09:02:18 +0000
commitf00a56183896583b21676da1de378cc15aaa42a0 (patch)
treeed5ee7f1df4c37f11721463ccd38a00d787b0ba9 /extensions/renderer/api
parentbd7c981343caf492e552ae6c9498a15bbc38f1c7 (diff)
downloadchromium_src-f00a56183896583b21676da1de378cc15aaa42a0.zip
chromium_src-f00a56183896583b21676da1de378cc15aaa42a0.tar.gz
chromium_src-f00a56183896583b21676da1de378cc15aaa42a0.tar.bz2
Send less data in the DataSender test that timed out under valgrind.
BUG=405531 Review URL: https://codereview.chromium.org/499243002 Cr-Commit-Position: refs/heads/master@{#291872}
Diffstat (limited to 'extensions/renderer/api')
-rw-r--r--extensions/renderer/api/serial/data_sender_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/renderer/api/serial/data_sender_unittest.cc b/extensions/renderer/api/serial/data_sender_unittest.cc
index 7774f10..9f129e07 100644
--- a/extensions/renderer/api/serial/data_sender_unittest.cc
+++ b/extensions/renderer/api/serial/data_sender_unittest.cc
@@ -97,9 +97,9 @@ TEST_F(DataSenderTest, Send) {
}
TEST_F(DataSenderTest, LargeSend) {
- std::string pattern = "1234567890";
+ std::string pattern = "123";
std::string expected_data;
- for (int i = 0; i < 110; i++)
+ for (int i = 0; i < 11; i++)
expected_data += pattern;
expected_data_.push(expected_data);
RunTest("data_sender_unittest.js", "testLargeSend");