From 89208b0686b032a3298ee4b4f4a7da013bb0cfdf Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Fri, 17 Jun 2016 16:09:26 +0800 Subject: 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 --- utils/test/result_collection_api/update/restore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/test/result_collection_api/update') 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.') -- cgit 1.2.3-korg