Longer timeout and better assertion messages.

This test fails regularly under load. 10s may not be enough on a busy
machine.