Skip to content

Commit 288d77f

Browse files
committed
"no database connection" --defer-module-loads
MSP-11671 Call `msfconsole` with `--defer-module-loads` to change runtime of `/usr/bin/time rake CUCUMBER_OPTS="-r features" FEATURE=features/msfconsole/database_yml.feature:134 cucumber:boot` from 49.44 seconds to 37.65 seconds (-23.83%). (-80.73% change from 22c56f5.) Raw data: https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing.
1 parent ec63f65 commit 288d77f

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
@@ -140,7 +140,7 @@ Feature: `msfconsole` `database.yml`
140140
And a mocked home directory
141141
And I cd to "../.."
142142
And the project "database.yml" does not exist
143-
When I run `msfconsole --environment test --execute-command db_status --execute-command exit`
143+
When I run `msfconsole --defer-module-loads --environment test --execute-command db_status --execute-command exit`
144144
Then the output should not contain "command_line_metasploit_framework_test"
145145
And the output should not contain "environment_metasploit_framework_test"
146146
And the output should not contain "user_metasploit_framework_test"

0 commit comments

Comments
 (0)