Closed mobilunity-user closed 6 years ago
@a-serdukov-mobilunity I ran the tests and got the following failures:
C:\work\ravendb-ruby-client [v4.0 ≡] λ & { $env:URL="http://localhost:8080"; rake test; } C:/Ruby24-x64/bin/ruby.exe -w -I"lib;test" -I"C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib" "C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/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" "test/session_tests/authentication_test.rb" "test/session_tests/document_conventions_test.rb" "test/session_tests/document_conversion_test.rb" "test/session_tests/document_load_test.rb" "test/session_tests/document_serializing_test.rb" "test/session_tests/document_store_test.rb" "test/session_tests/hilo_generator_test.rb" Run options: --seed 47466 # Running: EEEEEEE.......EE.EE.....................EEEEE....E....... Finished in 25.032795s, 2.2770 runs/s, 5.6326 assertions/s. 1) Error: DocumentLoadTest#test_should_load_track_entity: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:14:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:8:in `setup' 2) Error: DocumentLoadTest#test_should_load_with_includes: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:14:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:8:in `setup' 3) Error: DocumentLoadTest#test_should_load_track_entity_with_nested_object: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:14:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:8:in `setup' 4) Error: DocumentLoadTest#test_should_load_few_documents: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:14:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:8:in `setup' 5) Error: DocumentLoadTest#test_should_load_existing_document: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:14:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:8:in `setup' 6) Error: DocumentLoadTest#test_should_not_load_missing_document: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:14:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:8:in `setup' 7) Error: DocumentLoadTest#test_should_load_few_documents_with_duplicate_id: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:14:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_load_test.rb:8:in `setup' 8) Error: DocumentConventionsTest#test_should_convert_back_to_raw_entity: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/conventions.rb:71:in `clone' C:/work/ravendb-ruby-client/lib/documents/conventions.rb:71:in `convert_to_document' C:/work/ravendb-ruby-client/test/session_tests/document_conventions_test.rb:65:in `test_should_convert_back_to_raw_entity' 9) Error: DocumentConventionsTest#test_should_convert_to_document: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/conventions.rb:71:in `clone' C:/work/ravendb-ruby-client/lib/documents/conventions.rb:71:in `convert_to_document' C:/work/ravendb-ruby-client/test/session_tests/document_conventions_test.rb:41:in `test_should_convert_to_document' 10) Error: DocumentConversionTest#test_should_convert_on_store_then_reload: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_conversion_test.rb:11:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_conversion_test.rb:10:in `setup' 11) Error: DocumentConversionTest#test_should_convert_on_load: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_conversion_test.rb:11:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_conversion_test.rb:10:in `setup' 12) Error: DocumentStoreTest#test_should_not_store_id_inside_document_json_only_in_metadata: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_store_test.rb:15:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_store_test.rb:9:in `setup' 13) Error: DocumentStoreTest#test_should_store_custom_fields_in_metadata: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_store_test.rb:15:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_store_test.rb:9:in `setup' 14) Error: DocumentStoreTest#test_should_store_with_id: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_store_test.rb:15:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_store_test.rb:9:in `setup' 15) Error: DocumentStoreTest#test_should_store_without_id: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_store_test.rb:15:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_store_test.rb:9:in `setup' 16) Error: DocumentStoreTest#test_should_generate_id_and_set_collection: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `clone' C:/work/ravendb-ruby-client/lib/documents/document_session.rb:123:in `store' C:/work/ravendb-ruby-client/test/session_tests/document_store_test.rb:15:in `block in setup' C:/work/ravendb-ruby-client/lib/documents/document_store.rb:115:in `open_session' C:/work/ravendb-ruby-client/test/session_tests/document_store_test.rb:9:in `setup' 17) Error: PatchCommandTest#test_should_patch_success_ignoring_missing: ArgumentError: wrong number of arguments (given 1, expected 0) C:/work/ravendb-ruby-client/lib/documents/conventions.rb:71:in `clone' C:/work/ravendb-ruby-client/lib/documents/conventions.rb:71:in `convert_to_document' C:/work/ravendb-ruby-client/lib/database/operation_executor.rb:181:in `set_response' C:/work/ravendb-ruby-client/lib/database/operation_executor.rb:112:in `send' C:/work/ravendb-ruby-client/test/raven_commands_tests/patch_command_test.rb:28:in `test_should_patch_success_ignoring_missing' 57 runs, 141 assertions, 0 failures, 17 errors, 0 skips rake aborted! Command failed with status (1): [ruby -w -I"lib;test" -I"C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib" "C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/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" "test/session_tests/authentication_test.rb" "test/session_tests/document_conventions_test.rb" "test/session_tests/document_conversion_test.rb" "test/session_tests/document_load_test.rb" "test/session_tests/document_serializing_test.rb" "test/session_tests/document_store_test.rb" "test/session_tests/hilo_generator_test.rb" ] Tasks: TOP => test (See full trace by running task with --trace) C:\work\ravendb-ruby-client [v4.0 ≡] λ
@a-serdukov-mobilunity I ran the tests and got the following failures: