mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
Don't forget 8 bytes for the timestamp.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user