diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-06-17 16:09:26 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-06-17 17:24:50 +0800 |
commit | 89208b0686b032a3298ee4b4f4a7da013bb0cfdf (patch) | |
tree | ace3902b756f3ef4114113a61e1afe9f9b38eb1a /utils/test | |
parent | 13f8885f134e36ca9ccde367cdedfc4c68cf7766 (diff) |
bugfix: adapt mongorestore to work in mongodb 3.0 and above
mongorestore --db db must be specified
JIRA: FUNCTEST-322
Change-Id: Idfbc99f23735f8871f29bb0e5e0240d47a7877bb
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test')
-rw-r--r-- | utils/test/result_collection_api/update/restore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/test/result_collection_api/update/restore.py b/utils/test/result_collection_api/update/restore.py index c3e06cc1c..c45a0e621 100644 --- a/utils/test/result_collection_api/update/restore.py +++ b/utils/test/result_collection_api/update/restore.py @@ -24,7 +24,7 @@ parser.add_argument('-i', '--input_dir', parser.add_argument('-d', '--db', type=str, required=False, - default=None, + default='test_results_collection', help='database name after the restore.') |