Skip to content

Commit

Permalink
#57 Test failing in kyro-serializer
Browse files Browse the repository at this point in the history
Rework the test to expect a minimal size of the page, not exact size.
Because the page hierarchy may change and this will affect the size.
  • Loading branch information
martin-g committed Dec 2, 2011
1 parent e340188 commit e31c61d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void homepageRendersSuccessfully()
Assert.assertNotNull("The produced data should not be null!", data);

// data length can fluctuate based on the object field values
Assert.assertEquals("The produced data length is not correct!", 434, data.length);
Assert.assertTrue("The produced data length is not correct!", data.length > 300);

Object object = pageSerializer.deserialize(data);
Assert.assertTrue(
Expand Down

0 comments on commit e31c61d

Please sign in to comment.