It only turns on NRT for shard1.
I made a new method that can be reused by other tests called enableSoftCommit. It's fixed to work with all shards and whatever collections exist at startup.
Commit 1535204 from Mark Miller in branch 'dev/trunk'
[ https://svn.apache.org/r1535204 ]
SOLR-5384: randomlyEnableAutoSoftCommit in ChaosMonkeySafeLeaderTest is buggy.
Commit 1535205 from Mark Miller in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1535205 ]