summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah Zhou <sarah.zhou@10gen.com>2018-07-10 11:35:02 -0400
committerSarah Zhou <sarah.zhou@10gen.com>2018-07-12 10:15:17 -0400
commit232fb87145ebdd0fb43a342c54884f65fb34d43b (patch)
tree8f33dc5e55a943956a6922bd432a5b58cdfec9a4
parent17aebb0ae1265b70ba35c89e85ae911640d35d78 (diff)
downloadmongo-232fb87145ebdd0fb43a342c54884f65fb34d43b.tar.gz
SERVER-36041 Increase size of changelog and actionlog in sharding_catalog_client_test
(cherry picked from commit 7bff26918103cb58d3e01f52a61e1286f2f1c4a4)
-rw-r--r--src/mongo/s/catalog/sharding_catalog_log_change_test.cpp4
-rw-r--r--src/mongo/s/sharding_test_fixture.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/catalog/sharding_catalog_log_change_test.cpp b/src/mongo/s/catalog/sharding_catalog_log_change_test.cpp
index 020371a23c3..50637438cd0 100644
--- a/src/mongo/s/catalog/sharding_catalog_log_change_test.cpp
+++ b/src/mongo/s/catalog/sharding_catalog_log_change_test.cpp
@@ -191,12 +191,12 @@ protected:
class ActionLogTest : public InfoLoggingTest {
public:
- ActionLogTest() : InfoLoggingTest(ActionLog, 2 * 1024 * 1024) {}
+ ActionLogTest() : InfoLoggingTest(ActionLog, 20 * 1024 * 1024) {}
};
class ChangeLogTest : public InfoLoggingTest {
public:
- ChangeLogTest() : InfoLoggingTest(ChangeLog, 10 * 1024 * 1024) {}
+ ChangeLogTest() : InfoLoggingTest(ChangeLog, 200 * 1024 * 1024) {}
};
TEST_F(ActionLogTest, NoRetryAfterSuccessfulCreate) {
diff --git a/src/mongo/s/sharding_test_fixture.cpp b/src/mongo/s/sharding_test_fixture.cpp
index 9f4583f485a..4a7e8b6df5b 100644
--- a/src/mongo/s/sharding_test_fixture.cpp
+++ b/src/mongo/s/sharding_test_fixture.cpp
@@ -429,7 +429,7 @@ void ShardingTestFixture::expectConfigCollectionInsert(const HostAndPort& config
void ShardingTestFixture::expectChangeLogCreate(const HostAndPort& configHost,
const BSONObj& response) {
- expectConfigCollectionCreate(configHost, "changelog", 10 * 1024 * 1024, response);
+ expectConfigCollectionCreate(configHost, "changelog", 200 * 1024 * 1024, response);
}
void ShardingTestFixture::expectChangeLogInsert(const HostAndPort& configHost,