1. New configuration directory is not cleaning up after resetting to default configuration directory in a pushconfig functionality. Because of this reason, it's giving permission denied problem for a folder, if other user tried running the tests in the same cluster with pushconfig functionality. I could see this issue while running the tests on a cluster with security enabled and different user.
I have added the functionality for above issue and attaching the patch
2. Throwing IOException and it says token is expired while running the tests. I could see this issue in a secure cluster.
This issue has been resolved by setting the following attribute in the configuration.
adding/updating this attribute in the push configuration functionality while creating the new configuration.