-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
As part of RUBY-2752 flaky unified tests were added. The following error is observed:
Unable to find source-code formatter for language: ruby. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
1) Unified spec tests - valid pass valid-pass/observeSensitiveCommands.yml hello with speculativeAuthenticate passes Failure/Error: raise Error::ResultMismatch, "Event count mismatch: expected #{expected_events.length}, actual #{actual_events.length}\nExpected: #{expected_events}\nActual: #{actual_events}" Unified::Error::ResultMismatch: Event count mismatch: expected 2, actual 0 Expected: [{"commandStartedEvent"=>{"commandName"=>"hello", "command"=>{"hello"=>{"$$exists"=>false}, "speculativeAuthenticate"=>{"$$exists"=>false}}}}, {"commandSucceededEvent"=>{"commandName"=>"hello", "reply"=>{"isWritablePrimary"=>{"$$exists"=>false}, "speculativeAuthenticate"=>{"$$exists"=>false}}}}] Actual: [] # ./spec/runners/unified/assertions.rb:173:in `block in assert_events' # ./spec/runners/unified/assertions.rb:147:in `each' # ./spec/runners/unified/assertions.rb:147:in `assert_events' # ./spec/runners/unified.rb:101:in `block (5 levels) in define_unified_spec_tests' # ./spec/support/macros.rb:12:in `block in config_override' # ./spec/lite_spec_helper.rb:141:in `block (3 levels) in <top (required)>' # ./spec/lite_spec_helper.rb:140:in `block (2 levels) in <top (required)>' # ./spec/lite_spec_helper.rb:120:in `block (2 levels) in <top (required)>'
This ticket is for investigating a fixing this flaky test.
- is related to
-
RUBY-2752 Integration tests for observeSensitiveCommands
- Closed