Pending test pseudo-failures with "rake integration"

Description

Noted while running "rake integration" against an otherwise clean build (while working on RUBY-332):

Pending: (Failures listed here are expected and do not affect your suite's status)

1) Cassandra::Protocol::CredentialsRequest#eql? returns when the credentials are equivalent

this would be nice, but is hardly necessary
Failure/Error: c1.should eql(c2)


expected: #<Cassandra::Protocol::CredentialsRequest:0x0000000003092a60 @opcode=4, @trace=false, @credentials={"username"=>"foo", "password"=>"bar"}>
got: #<Cassandra::Protocol::CredentialsRequest:0x0000000003092b50 @opcode=4, @trace=false, @credentials={:username=>"foo", :password=>"bar"}>

(compared using eql?)

Diff:
@@ -1,5 +1,5 @@
-#<Cassandra::Protocol::CredentialsRequest:0x0000000003092a60

@credentials={"username"=>"foo", "password"=>"bar"},
+#<Cassandra::Protocol::CredentialsRequest:0x0000000003092b50
+ @credentials={:username=>"foo", :password=>"bar"},
@opcode=4,
@trace=false>

./spec/cassandra/protocol/requests/credentials_request_spec.rb:58:in `block (3 levels) in <module:Protocol>'

/home/mersault/.rvm/gems/ruby-2.5.1@driver/gems/rspec-wait-0.0.9/lib/rspec/wait.rb:46:in `block (2 levels) in <top (required)>'

2) Cassandra::Protocol::CredentialsRequest#hash has the same hash code as another object with equivalent credentials

this would be nice, but is hardly necessary
Failure/Error: c1.hash.should == c2.hash


expected: 3102474828359437114 got: 2368653503850525755 (using ==)

./spec/cassandra/protocol/requests/credentials_request_spec.rb:85:in `block (3 levels) in <module:Protocol>' # /home/mersault/.rvm/gems/ruby-2.5.1@driver/gems/rspec-wait-0.0.9/lib/rspec/wait.rb:46:in `block (2 levels) in <top (required)>'

 

As stated these aren't really test failures but they're noisy and should be cleaned up

Environment

None

Pull Requests

None

Assignee

Unassigned

Reporter

Bret McGuire