Skip to content

Changes

Summary

  1. PushConnectionTest#limitCommandBytes: Increase maxCommandBytes (details)
Commit 61a943e03d86b4ede1cf9a8184f00a7bb76143c1 by David Pursehouse
PushConnectionTest#limitCommandBytes: Increase maxCommandBytes

A higher limit is required to account for proper JGit version number
being sent in the UserAgent.

The version string "4.7.0.201704031717-r" is 20 characters, however
the strings used during development are shorter:

- When running from mvn, "4.7.0.qualifier" is used; 15 characters
- When running in Eclipse, "unknown" is used; 7 characters

Change-Id: I9aca2f71389a42fedce305e9078db016869c3d1a
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
The file was modified org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PushConnectionTest.java