Skip to content

Commit 8200c29

Browse files
committed
Make the number of iterations more reasonable.
1 parent 6809745 commit 8200c29

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/bloaty_misc_test.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ TEST_F(BloatyTest, MultiThreaded) {
4444
// Bloaty doesn't know or care that you are passing the same file multiple
4545
// times.
4646
std::vector<std::string> args{"bloaty"};
47-
for (int i = 0; i < 2000; i++) {
47+
const int count = 100;
48+
for (int i = 0; i < count; i++) {
4849
args.push_back("02-section-count-overflow.o");
4950
}
5051
RunBloaty(args); // Heavily multithreaded test.
51-
EXPECT_EQ(top_row_->filesize, file_size * 2000);
52+
EXPECT_EQ(top_row_->filesize, file_size * 100);
5253
}

0 commit comments

Comments
 (0)