"Without --yaml or MSF_DATABASE_CONFIG, ~/.msf4/database.yml wins" --defer-module-loads
MSP-11671 Pass `--defer-module-loads` to `msfconsole` to change average (n=10) runtime for `/usr/bin/time rake CUCUMBER_OPTS="-r features" FEATURE=features/msfconsole/database_yml.feature:88 cucumber:boot` from 51.79 seconds to 39.25 seconds (-24.40%). (-71.74% from e9a69a844cd2f2f7ad24386dd3adf7ccbd18d2b3.) Raw data: https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing.
This commit is contained in:
@@ -109,7 +109,7 @@ Feature: `msfconsole` `database.yml`
|
||||
database: project_metasploit_framework_test
|
||||
username: project_metasploit_framework_test
|
||||
"""
|
||||
When I run `msfconsole --environment test --execute-command exit`
|
||||
When I run `msfconsole --defer-module-loads --environment test --execute-command exit`
|
||||
Then the output should contain "user_metasploit_framework_test"
|
||||
|
||||
Scenario: Without --yaml, MSF_DATABASE_CONFIG or ~/.msf4/database.yml, project "database.yml" wins
|
||||
|
||||
Reference in New Issue
Block a user