Open
Description
Several tests run longer than 1 second each (the longest runs ~9 sec!). We need to fix this.
$ bx rspec -p --seed 48228 spec
Compiling test protos (use NO_COMPILE_TEST_PROTOS=1 to skip)
protoc --plugin=./bin/protoc-gen-ruby --ruby_out=/code/src/gems/protobuf/spec/support -I /code/src/gems/protobuf/spec/support /code/src/gems/protobuf/spec/support/**/*.proto
.........................*...............*.................................................................................................................................................................................................................................................................................Suppress tag warning output with PB_NO_TAG_WARNINGS=1.
....................................................
Pending:
Protobuf::Message#get_ext_field_by_name Need to get a proto compiled with extensions first
# No reason given
# ./spec/lib/protobuf/message_spec.rb:330
Protobuf::Message#get_field_by_tag when tag does not reference a field returns nil
# need to implement a range-limiting array sub-class for field access
# ./spec/lib/protobuf/message_spec.rb:345
Top 10 slowest examples (23.11 seconds, 98.8% of total time):
Functional ZMQ Client runs under heavy load
10.07 seconds ./spec/functional/zmq_server_spec.rb:49
Functional ZMQ Client when the server takes too long to respond responds with a timeout error
5.01 seconds ./spec/functional/zmq_server_spec.rb:99
Protobuf::Rpc::Client when using fiber based calls throws a timeout when client timeout is exceeded
2 seconds ./spec/lib/protobuf/rpc/client_spec.rb:47
Functional ZMQ Client runs fine when required fields are set
1.15 seconds ./spec/functional/zmq_server_spec.rb:32
Protobuf::Rpc::Client when using fiber based calls without reactor_running? calls failure_cb & throws a timeout when client timeout is exceeded
1.09 seconds ./spec/lib/protobuf/rpc/client_spec.rb:79
Protobuf::Rpc::Client when using fiber based calls without reactor_running? throws a timeout when client timeout is exceeded
1.02 seconds ./spec/lib/protobuf/rpc/client_spec.rb:68
Protobuf::Rpc::Client when using fiber based calls waits for response
1 seconds ./spec/lib/protobuf/rpc/client_spec.rb:10
Functional ZMQ Client when the request type is wrong calls the on_failure callback
0.701 seconds ./spec/functional/zmq_server_spec.rb:85
Functional ZMQ Client when a message is malformed calls the on_failure callback
0.61265 seconds ./spec/functional/zmq_server_spec.rb:71
protoc-gen-ruby reads the serialized request bytes and outputs serialized response bytes
0.4479 seconds
Finished in 23.93 seconds
367 examples, 0 failures, 2 pending
Randomized with seed 48228