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
Adam Cammack 2018-07-24 15:14:47 -05:00
parent 230e36f5f0
commit de52e8c631
No known key found for this signature in database
GPG Key ID: C9378BA088092D66
1 changed files with 2 additions and 2 deletions

View File

@ -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')