/** * Tests that the mux reconnects at version zero when the server fails before * the client sends any ops on a wavelet. */ public void testMuxReconnectsNewWaveletAfterViewConnected() throws ChannelException { doTestMuxReconnectsNewWavelet(NewWaveletDisconnectWhen.AFTER_VIEW_CONNECTED); }
/** * Tests that the mux reconnects at version zero when the server fails and * loses the client's version-zero delta before acknowledging it, forgetting * the wavelet entirely. */ public void testMuxReconnectsNewWaveletAfterFirstSend() throws ChannelException { doTestMuxReconnectsNewWavelet(NewWaveletDisconnectWhen.AFTER_SEND_DELTA); }
/** * Tests that the mux reconnects at version zero when the server fails and * loses the client's version-zero delta, forgetting the wavelet entirely. */ public void testMuxReconnectsNewWaveletWhenServerLosesFirstDelta() throws ChannelException { doTestMuxReconnectsNewWavelet(NewWaveletDisconnectWhen.AFTER_ACK_DELTA); }
/** * Tests that the mux reconnects at version zero when the server fails and * loses the client's version-zero delta before acknowledging it, forgetting * the wavelet entirely. */ public void testMuxReconnectsNewWaveletAfterFirstSend() throws ChannelException { doTestMuxReconnectsNewWavelet(NewWaveletDisconnectWhen.AFTER_SEND_DELTA); }
/** * Tests that a mux reconnects with a new version-zero channel if the view * channel fails before it opens. */ public void testMuxReconnectsNewWaveletBeforeViewConnected() throws ChannelException { doTestMuxReconnectsNewWavelet(NewWaveletDisconnectWhen.BEFORE_VIEW_CONNECTED); }
/** * Tests that the mux reconnects at version zero when the server fails and * loses the client's version-zero delta, forgetting the wavelet entirely. */ public void testMuxReconnectsNewWaveletWhenServerLosesFirstDelta() throws ChannelException { doTestMuxReconnectsNewWavelet(NewWaveletDisconnectWhen.AFTER_ACK_DELTA); }
/** * Tests that a mux reconnects with a new version-zero channel if the view * channel fails before it opens. */ public void testMuxReconnectsNewWaveletBeforeViewConnected() throws ChannelException { doTestMuxReconnectsNewWavelet(NewWaveletDisconnectWhen.BEFORE_VIEW_CONNECTED); }
/** * Tests that the mux reconnects at version zero when the server fails before * the client sends any ops on a wavelet. */ public void testMuxReconnectsNewWaveletAfterViewConnected() throws ChannelException { doTestMuxReconnectsNewWavelet(NewWaveletDisconnectWhen.AFTER_VIEW_CONNECTED); }