Fail deliberately to avoid infinite loop
Merge pull request #6579 from wmtan/AssertToAvoidInfiniteLoop

Fail deliberately to avoid infinite loop