Update Rspec expected thread count
External modules start threads during the test run, so the thread manager is always running by the end in addition to the main VM thread.GSoC/Meterpreter_Web_Console
parent
230e36f5f0
commit
de52e8c631
|
@ -12,7 +12,7 @@ module Metasploit
|
|||
#
|
||||
|
||||
# Number of allowed threads when threads are counted in `after(:suite)` or `before(:suite)`
|
||||
EXPECTED_THREAD_COUNT_AROUND_SUITE = if ENV['REMOTE_DB'] then 2 else 1 end
|
||||
EXPECTED_THREAD_COUNT_AROUND_SUITE = 2
|
||||
|
||||
# `caller` for all Thread.new calls
|
||||
LOG_PATHNAME = Pathname.new('log/metasploit/framework/spec/threads/suite.log')
|
||||
|
|
Loading…
Reference in New Issue