Details
Description
Currently, the audit_import_collection.js test checks that the audit event emitted right after the `importCollection` command is of atype `importCollection`. Due to work by the Security team to increase the coverage of audit events (namely `createIndex`), this is no longer guaranteed to be true and is responsible for BF-20177. The assertion check should be relaxed to use `audit.assertEntry()`, which will check that the appropriate `importCollection` audit entry has been emitted within a default timeout after the `importCollection` command has run.