Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
RagnarW authored and martinfurmanski committed Sep 10, 2018
1 parent 079bd23 commit dd18459
Showing 1 changed file with 3 additions and 7 deletions.
Expand Up @@ -107,7 +107,7 @@ private Collection<StorageCommand> ofSize( int size )
}

@Test
public void shouldMarhsalSame() throws IOException
public void shouldMarshalSame() throws IOException
{
PhysicalTransactionRepresentation tx = new PhysicalTransactionRepresentation( ofSize( 1 ) );
ReplicatedTransaction byteTx = ReplicatedTransactionFactory.createImmutableReplicatedTransaction( tx );
Expand All @@ -126,13 +126,9 @@ public void shouldMarhsalSame() throws IOException
buffer1.readerIndex( 0 );
buffer2.readerIndex( 0 );

// buffer1.setInt( 0, -1 );
// buffer2.setInt( 0, -1 );
buffer1.setInt( 0, -1 );
buffer2.setInt( 0, -1 );

assertArrayEquals( buffer1.array(), buffer2.array() );

ReplicatedTransactionFactory.extractTransactionRepresentation( unmarshalByte, new byte[0] );
ReplicatedTransactionFactory.extractTransactionRepresentation( unmarshalrepr, new byte[0] );
// ReplicatedTransactionFactory.extractTransactionRepresentation( byteTx, new byte[0]);
}
}

0 comments on commit dd18459

Please sign in to comment.