feat(run/jobs): make tests more robust (#8116)
feat(run/jobs): make tests more robust (#8116)

* feat(run/jobs): add more robust test

* Add exception

* Fix lint
GoogleCloudPlatform/python-docs-samples,GoogleCloudPlatform/python-docs-samples,GoogleCloudPlatform/python-docs-samples,GoogleCloudPlatform/python-docs-samples