{"action":"created","issue":{"url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/1964","labels_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/1964/labels{/name}","comments_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/1964/comments","events_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/1964/events","html_url":"https://github.com/RedHatQE/cfme_tests/pull/1964","id":81337767,"number":1964,"title":"setup_a_provider does not setup a new provider if a suitable one already exists","user":{"login":"mfalesni","id":2163040,"avatar_url":"https://avatars.githubusercontent.com/u/2163040?v=3","gravatar_id":"","url":"https://api.github.com/users/mfalesni","html_url":"https://github.com/mfalesni","followers_url":"https://api.github.com/users/mfalesni/followers","following_url":"https://api.github.com/users/mfalesni/following{/other_user}","gists_url":"https://api.github.com/users/mfalesni/gists{/gist_id}","starred_url":"https://api.github.com/users/mfalesni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfalesni/subscriptions","organizations_url":"https://api.github.com/users/mfalesni/orgs","repos_url":"https://api.github.com/users/mfalesni/repos","events_url":"https://api.github.com/users/mfalesni/events{/privacy}","received_events_url":"https://api.github.com/users/mfalesni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RedHatQE/cfme_tests/labels/lint-ok","name":"lint-ok","color":"328832"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-27T08:03:29Z","updated_at":"2015-05-28T15:31:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/1964","html_url":"https://github.com/RedHatQE/cfme_tests/pull/1964","diff_url":"https://github.com/RedHatQE/cfme_tests/pull/1964.diff","patch_url":"https://github.com/RedHatQE/cfme_tests/pull/1964.patch"},"body":"Should be little bit more conserving our resources.\r\n\r\n{{pytest: cfme/tests/automate/test_domain_priority.py cfme/tests/automate/test_namespace.py cfme/tests/configure/test_default_filters.py cfme/tests/configure/test_default_views.py cfme/tests/configure/test_access_control.py cfme/tests/configure/test_visual_cloud.py cfme/tests/configure/test_visual_infra.py cfme/tests/control/test_bugs.py cfme/tests/infrastructure/test_advanced_search_host.py cfme/tests/infrastructure/test_advanced_search_providers.py cfme/tests/infrastructure/test_advanced_search_vms.py cfme/tests/integration/test_openldap_auth.py cfme/tests/integration/test_aws_iam_auth_and_roles.py cfme/tests/integration/test_ldap_auth_and_roles.py cfme/tests/integration/test_ipa_external.py cfme/tests/intelligence/reports/test_canned_corresponds.py cfme/tests/intelligence/reports/test_report_chargeback.py cfme/tests/intelligence/reports/test_report_corresponds.py cfme/tests/intelligence/test_download_report.py cfme/tests/services/test_operations.py cfme/tests/test_rest.py cfme/tests/test_soap.py cfme/tests/cloud_infra_common/test_tag_objects.py -v --long-running }}"},"comment":{"url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/comments/106413714","html_url":"https://github.com/RedHatQE/cfme_tests/pull/1964#issuecomment-106413714","issue_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/1964","id":106413714,"user":{"login":"mfalesni","id":2163040,"avatar_url":"https://avatars.githubusercontent.com/u/2163040?v=3","gravatar_id":"","url":"https://api.github.com/users/mfalesni","html_url":"https://github.com/mfalesni","followers_url":"https://api.github.com/users/mfalesni/followers","following_url":"https://api.github.com/users/mfalesni/following{/other_user}","gists_url":"https://api.github.com/users/mfalesni/gists{/gist_id}","starred_url":"https://api.github.com/users/mfalesni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfalesni/subscriptions","organizations_url":"https://api.github.com/users/mfalesni/orgs","repos_url":"https://api.github.com/users/mfalesni/repos","events_url":"https://api.github.com/users/mfalesni/events{/privacy}","received_events_url":"https://api.github.com/users/mfalesni/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T15:31:53Z","updated_at":"2015-05-28T15:31:53Z","body":"@psav @seandst I am thinking whether we should introduce a bit of randomness inside the setup_a_provider function, because currently it seems to prefer certain providers because of the order. What if the provider set up would be determined by random choice from the eligible providers list rather than iterating the list? This might spread the load a bit throughout the providers. The code that I wrote in the PR would then secure that once a suitable provider is set up, it will be always reused."}}