Skip to content

Commit 0785b0d

Browse files
committed
Fix non-LB handshake test.
1 parent 9fa6096 commit 0785b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/integration/handshake_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func TestLoadBalancedConnectionHandshake(t *testing.T) {
333333
want = wiremessage.OpMsg
334334
}
335335

336-
assert.Equal(mt, hello, firstMessage, "expected first message to be a handshake")
336+
assert.Equal(mt, hello, firstMessage.CommandName, "expected first message to be a handshake")
337337
assert.Equal(mt, want, firstMessage.Sent.OpCode)
338338
})
339339
}

0 commit comments

Comments
 (0)