Skip to content

Commit eef4eab

Browse files
committed
TOOLS-4263 Delete JS tests fully covered by existing Go tests
Here's a mapping of JS to existing Go tests: - test/legacy42/jstests/tool/tool1.js -> TestRoundTripBasicData (integration/exportimport/data_test.go) + TestPipedDumpRestore (integration/dumprestore/roundtrip_test.go) - test/legacy42/jstests/tool/exportimport3.js -> TestRoundTripJSONArray (integration/exportimport/json_test.go) - test/legacy42/jstests/tool/restorewithauth.js -> TestDumpRestoreEnforcesAuthRoles (mongorestore/dumprestore_auth_test.go) - test/qa-tests/jstests/restore/users_and_roles_admin.js -> TestDumpRestoreSingleDBWithDBUsersAndRoles (mongorestore/dumprestore_auth_test.go) - test/qa-tests/jstests/restore/stop_on_error.js -> TestMongorestoreMIOSOE (mongorestore/mongorestore_test.go) - test/qa-tests/jstests/restore/oplog_replay_specify_file.js -> TestOplogRestore and related oplog-file cases (mongorestore/oplog_test.go) - test/qa-tests/jstests/import/stoponerror.js -> TestImportMIOSOE (mongoimport/mongoimport_test.go) - test/qa-tests/jstests/files/mongofiles_list.js -> "list" cases in TestMongoFilesCommands (mongofiles/mongofiles_test.go)
1 parent 2a490be commit eef4eab

8 files changed

Lines changed: 0 additions & 694 deletions

File tree

test/legacy42/jstests/tool/exportimport3.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

test/legacy42/jstests/tool/restorewithauth.js

Lines changed: 0 additions & 131 deletions
This file was deleted.

test/legacy42/jstests/tool/tool1.js

Lines changed: 0 additions & 71 deletions
This file was deleted.

test/qa-tests/jstests/files/mongofiles_list.js

Lines changed: 0 additions & 98 deletions
This file was deleted.

test/qa-tests/jstests/import/stoponerror.js

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)