new ProtobufAnnotationSerializer().write(mkLargeAnnotation(), compressed).close();
byte[] uncompressedProto = os.toByteArray();
byte[] compressedProto = compressedImpl.toByteArray();
assertNotNull(uncompressedProto);
assertNotNull(compressedProto);
<BUG>assertTrue("" + compressedProto.length, compressedProto.length < 310000);

assertTrue("" + uncompressedProto.length, uncompressedProto.length < 1300000);
</BUG>
}

new ProtobufAnnotationSerializer().write(mkLargeAnnotation(), compressed).close();
byte[] uncompressedProto = os.toByteArray();
byte[] compressedProto = compressedImpl.toByteArray();
assertNotNull(uncompressedProto);
assertNotNull(compressedProto);
assertTrue("" + compressedProto.length, compressedProto.length < 290000);
assertTrue("" + uncompressedProto.length, uncompressedProto.length < 1100000);
}
