@rajinisivaram The test failures are due to the tests being flaky rather than a coding problem in the feature implementation. I may have been able to solve the delegation token-related test that was failing (it didn't fail in these runs) by increasing the session lifetime in that test (from 50 ms to 500 ms). I will try to fix these flaky tests by increasing the associated session lifetimes as well. I think what may be going on is the tests are taking a long time to run and by the time they send data the session expiration time has arrived and the connection is being killed. It has also occurred to me that setting the session lifetime to something less than 1000 ms is probably not a good idea in general -- it may invite this type of flakiness due to unexpected delays, for example -- and maybe we should change the units of the configuration value to seconds instead of milliseconds to make sure it is never less than 1000 ms. Thoughts? Commit pushed with larger lifetimes, it was clean on my laptop.
[ Full content available at: https://github.com/apache/kafka/pull/5582 ] This message was relayed via gitbox.apache.org for [email protected]
