Fix tests

After merging with SPARK-3822, the tests are broken because the
requests are no longer always acknowledged by default. This adds
a flag that maintains this condition.
Add warning message (minor)
Merge branch 'master' of github.com:apache/spark into scaling-heuristics