Avoid concurrency failure in cache test with channel

We need to ensure that the listener has finished to clear the cache before resume the main thread execution.

Closes #11950 (closed)

Merge request reports

Loading