diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2018-05-17 13:45:46 -0400 |
---|---|---|
committer | Henrik Edin <henrik.edin@mongodb.com> | 2018-05-17 15:10:36 -0400 |
commit | 53d264b01621f815e1c80673c4cbc874bbd45e32 (patch) | |
tree | 4f083521e5e3ae3379a1516a74e2da1beef3d06d /src/mongo/client/embedded | |
parent | 65aed83ec433fba0cb62ec51ce876f3c7139bcf0 (diff) | |
download | mongo-53d264b01621f815e1c80673c4cbc874bbd45e32.tar.gz |
SERVER-33889 Separate sleep from shell_commands so the capi unittests don't drag in new commands.
Diffstat (limited to 'src/mongo/client/embedded')
-rw-r--r-- | src/mongo/client/embedded/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/client/embedded/libmongodbcapi_test.cpp | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/client/embedded/SConscript b/src/mongo/client/embedded/SConscript index eecf1e3387d..38516537b4a 100644 --- a/src/mongo/client/embedded/SConscript +++ b/src/mongo/client/embedded/SConscript @@ -160,7 +160,6 @@ capiTest = capiTestEnv.Program( ], LIBDEPS=[ '$BUILD_DIR/mongo/base', - '$BUILD_DIR/mongo/db/commands/shell_protocol', '$BUILD_DIR/mongo/db/commands/test_commands_enabled', '$BUILD_DIR/mongo/db/server_options_core', '$BUILD_DIR/mongo/rpc/protocol', diff --git a/src/mongo/client/embedded/libmongodbcapi_test.cpp b/src/mongo/client/embedded/libmongodbcapi_test.cpp index 49700732031..2575c217a2c 100644 --- a/src/mongo/client/embedded/libmongodbcapi_test.cpp +++ b/src/mongo/client/embedded/libmongodbcapi_test.cpp @@ -526,7 +526,6 @@ TEST_F(MongodbCAPITest, RunListCommands) { "aggregate", "authenticate", "buildInfo", - "captrunc", "clearLog", "cloneCollectionAsCapped", "collMod", @@ -548,7 +547,6 @@ TEST_F(MongodbCAPITest, RunListCommands) { "dropDatabase", "dropIndexes", "echo", - "emptycapped", "endSessions", "explain", "features", @@ -563,7 +561,6 @@ TEST_F(MongodbCAPITest, RunListCommands) { "getPrevError", "getShardMap", "getnonce", - "godinsert", "hostInfo", "insert", "isMaster", @@ -606,8 +603,7 @@ TEST_F(MongodbCAPITest, RunListCommands) { "startSession", "trimMemory", "update", - "validate", - "whatsmyuri"}; + "validate"}; std::sort(whitelist.begin(), whitelist.end()); mongo::BSONObj listCommandsObj = mongo::fromjson("{ listCommands: 1 }"); |