Update PR tests to complete all tests before returning results.  (#1065)
Update PR tests to complete all tests before returning results.  (#1065)

* Return results of all tests.

* Use for loop instead of while.

GoogleCloudPlatform/java-docs-samples,GoogleCloudPlatform/java-docs-samples,GoogleCloudPlatform/java-docs-samples,GoogleCloudPlatform/java-docs-samples,GoogleCloudPlatform/java-docs-samples,GoogleCloudPlatform/java-docs-samples