Set max_retries=1 for test suite if greater than 2

Makes problems with tests more visible to developers.

Change-Id: Ib106ec42b0774ea6b0f8a2be5aa725f32a17f395
Merge "Set max_retries=1 for test suite if greater than 2"