public class ReplicaSetConnectionTest extends Object
ReplicaSetConnection.| Constructor and Description |
|---|
ReplicaSetConnectionTest() |
public void setUp()
public void tearDown()
public void testClosePrimaryReconnect()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testClosePrimaryReconnectFails()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testClosePrimaryReconnectFailsWithASecondaryConnection()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testCloseSecondaryOnRemoveFromTheCluster()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testCloseSecondaryThrowsIOException()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testFlushSecondary()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testFlushSecondaryThrowsIOException()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testIgnoreServerAdd()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSend()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSend2Messages()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSendNoAvailableServerForReadPreferences()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSendNoMessages()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSendOnlyListsAPreferenceOnce()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSendToSecondary2Messages()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSendToSecondaryAllFail()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSendToSecondaryNoOpenConnection()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSendToSecondaryReuseConnectionOnSecondSend()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSendToSecondaryReuseConnectionOnSecondSendWithReconnect()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSendWithReadPreferencesConflict()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testSendWithReadPreferencesConflictRemoveDups()
throws IOException
AbstractProxyMultipleConnection.send(Message, ReplyCallback)
.IOException - On a failure setting up mocks.public void testToString()
throws IOException
AbstractProxyMultipleConnection.toString().IOException - On a failure setting up mocks.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.