Closed mobilunity-user closed 7 years ago
@a-serdukov-mobilunity I got 1 test failure:
gregolsky@gregolsky-pc:/mnt/c/work/ravendb-ruby-client$ rake test /usr/bin/ruby2.3 -I"lib:test" "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/raven_commands_tests/batch_command_test.rb" "test/raven_commands_tests/delete_command_test.rb" "test/raven_commands_tests/get_command_test.rb" "test/raven_commands_tests/index_commands_test.rb" "test/raven_commands_tests/patch_command_test.rb" "test/raven_commands_tests/put_command_test.rb" "test/raven_commands_tests/query_command_test.rb" "test/raven_commands_tests/query_operations_test.rb" /usr/lib/ruby/vendor_ruby/rake/file_utils.rb:82: warning: Insecure world writable dir /mnt/c in PATH, mode 040777 /mnt/c/work/ravendb-ruby-client/lib/utilities/json.rb:14: warning: found = in conditional, should be == Run options: --seed 16999 # Running: .................F......... Finished in 13.487326s, 2.0019 runs/s, 2.0760 assertions/s. 1) Failure: PutCommandTest#test_should_fail_with_invalid_json [/mnt/c/work/ravendb-ruby-client/test/raven_commands_tests/put_command_test.rb:21]: [RavenDB::RavenException] exception expected, not Class: <JSON::GeneratorError> Message: <"only generation of JSON objects or arrays allowed"> ---Backtrace--- /usr/lib/ruby/2.3.0/json/common.rb:224:in `generate' /usr/lib/ruby/2.3.0/json/common.rb:224:in `generate' /mnt/c/work/ravendb-ruby-client/lib/database/commands.rb:57:in `to_request_options' /mnt/c/work/ravendb-ruby-client/lib/requests/request_executor.rb:118:in `prepare_command' /mnt/c/work/ravendb-ruby-client/lib/requests/request_executor.rb:140:in `execute_command' /mnt/c/work/ravendb-ruby-client/lib/requests/request_executor.rb:75:in `execute' /mnt/c/work/ravendb-ruby-client/test/raven_commands_tests/put_command_test.rb:22:in `block in test_should_fail_with_invalid_json' /usr/lib/ruby/vendor_ruby/minitest/assertions.rb:300:in `assert_raises' /mnt/c/work/ravendb-ruby-client/test/raven_commands_tests/put_command_test.rb:21:in `test_should_fail_with_invalid_json' /usr/lib/ruby/vendor_ruby/minitest/test.rb:108:in `block (3 levels) in run' /usr/lib/ruby/vendor_ruby/minitest/test.rb:205:in `capture_exceptions' /usr/lib/ruby/vendor_ruby/minitest/test.rb:105:in `block (2 levels) in run' /usr/lib/ruby/vendor_ruby/minitest/test.rb:256:in `time_it' /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block in run' /usr/lib/ruby/vendor_ruby/minitest.rb:331:in `on_signal' /usr/lib/ruby/vendor_ruby/minitest/test.rb:276:in `with_info_handler' /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `run' /usr/lib/ruby/vendor_ruby/minitest.rb:778:in `run_one_method' /usr/lib/ruby/vendor_ruby/minitest.rb:305:in `run_one_method' /usr/lib/ruby/vendor_ruby/minitest.rb:293:in `block (2 levels) in run' /usr/lib/ruby/vendor_ruby/minitest.rb:292:in `each' /usr/lib/ruby/vendor_ruby/minitest.rb:292:in `block in run' /usr/lib/ruby/vendor_ruby/minitest.rb:331:in `on_signal' /usr/lib/ruby/vendor_ruby/minitest.rb:318:in `with_info_handler' /usr/lib/ruby/vendor_ruby/minitest.rb:291:in `run' /usr/lib/ruby/vendor_ruby/minitest.rb:152:in `block in __run' /usr/lib/ruby/vendor_ruby/minitest.rb:152:in `map' /usr/lib/ruby/vendor_ruby/minitest.rb:152:in `__run' /usr/lib/ruby/vendor_ruby/minitest.rb:129:in `run' /usr/lib/ruby/vendor_ruby/minitest.rb:56:in `block in autorun' --------------- 27 runs, 28 assertions, 1 failures, 0 errors, 0 skips rake aborted! Command failed with status (1): [ruby -I"lib:test" "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/raven_commands_tests/batch_command_test.rb" "test/raven_commands_tests/delete_command_test.rb" "test/raven_commands_tests/get_command_test.rb" "test/raven_commands_tests/index_commands_test.rb" "test/raven_commands_tests/patch_command_test.rb" "test/raven_commands_tests/put_command_test.rb" "test/raven_commands_tests/query_command_test.rb" "test/raven_commands_tests/query_operations_test.rb" ] Tasks: TOP => test (See full trace by running task with --trace) gregolsky@gregolsky-pc:/mnt/c/work/ravendb-ruby-client$
Run against beta-40018.
beta-40018
About error on test - i'll check it with invalid json RavenDB::ErrorResponseException should be thrown. and it's working on my workstation. it's strange(
@a-serdukov-mobilunity I got 1 test failure:
Run against
beta-40018
.