Skip to content

Commit 2c1203b

Browse files
committed
"Starting msfconsole with a valid database.yml" --defer-module-loads
MSP-11671 Run `msfconsole` with `--defer-module-loads` to change average (n=10) runtime of `/usr/bin/time rake CUCUMBER_OPTS="-r features" FEATURE=features/msfconsole/database_yml.feature:150 cucumber:boot` from 57.02 seconds to 38.76 seconds (-32.03%). (-80.26% change from 288d77f.) Raw data: https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing.
1 parent 7dfdc50 commit 2c1203b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/msfconsole/database_yml.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,6 @@ Feature: `msfconsole` `database.yml`
148148
And the output should contain "[*] postgresql selected, no connection"
149149

150150
Scenario: Starting `msfconsole` with a valid database.yml
151-
When I run `msfconsole --execute-command db_status --execute-command exit`
151+
When I run `msfconsole --defer-module-loads --execute-command db_status --execute-command exit`
152152
Then the output should contain "[*] postgresql connected to metasploit_framework_test"
153153

0 commit comments

Comments
 (0)