Skip to content
Snippets Groups Projects
Commit cc36d9d6 authored by akwizgran's avatar akwizgran
Browse files

Don't forget 8 bytes for the timestamp.

parent 331e7e05
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,7 @@ public class ConstantsTest extends TestCase {
assertTrue(out.size() > TransportUpdate.MAX_PLUGINS_PER_UPDATE *
(TransportUpdate.MAX_NAME_LENGTH +
TransportUpdate.MAX_PROPERTIES_PER_PLUGIN *
TransportUpdate.MAX_KEY_OR_VALUE_LENGTH * 2));
TransportUpdate.MAX_KEY_OR_VALUE_LENGTH * 2) + 8);
assertTrue(out.size() <= ProtocolConstants.MAX_PACKET_LENGTH);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment