lately some of the latency tests were failing and it turned out that the failure is due to that the maximum latency found was greater than anticipated. The tests in this suite do not care about the measured latency because we do not care to tune the systems in the first place. Its only goal is to run the tests of the latency tools with different values of environment variables and validate that the tool actually runs with these parameters.
Increase the maximum latency threshold so that the test doesn't fail in case of a high latency result.
When the tests fail, we want to have a clear full log of the output of the executed latency tool. The default format.MaxLength is 4000 but it isn't always sufficient to display the full string presentation especially when there is a failure.
Disable this limitation by setting the format.MaxLength to 0, to help with better troubleshooting of the failure.
For more info: https://onsi.github.io/gomega/#adjusting-output