Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken specs from EMS hostname validation and vCloud Refresh #173

Merged
merged 2 commits into from
Jan 15, 2018

Conversation

agrare
Copy link
Member

@agrare agrare commented Jan 12, 2018

There are two different classes of spec failures which cropped up over the past week

  1. Hostname Validation
    Adding hostname format validation manageiq#16714 Caused the specs which
    use invalid hostnames to fail in different ways then expected. The test
    checking for nil ems hostname is now invalid because that isn't possible
    and the other changed the hostname to something with a space which can
    be replaced with a '-'

  2. fog-core 2.0 causing vCloud VCR failures
    fog-core 2.0 was released and fog-openstack was pulling in fog-core >= 1.40. This ended up pulling in 2.0 which was breaking these VCR tests. @Ladas fixed this in fog-openstack here but that version can't be used until it is tested further.

ManageIQ/manageiq#16714 Caused the specs which
use invalid hostnames to fail in different ways then expected.  The test
checking for nil ems hostname is now invalid because that isn't possible
and the other changed the hostname to something with a space which can
be replaced with a '-'
@agrare
Copy link
Member Author

agrare commented Jan 12, 2018

@blomquisg @Fryguy this fixes the two failing InfraManager specs, still looking into the NetworkManager VCR failure

Fog-core 2.0 is getting pulled in by fog-openstack which is causing the
vcr spec tests for vCloud director to fail.
@agrare agrare changed the title Fix broken specs from EMS hostname validation Fix broken specs from EMS hostname validation and vCloud Refresh Jan 15, 2018
@miq-bot
Copy link
Member

miq-bot commented Jan 15, 2018

Checked commits agrare/manageiq-providers-vmware@621a19f~...ff7081c with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@blomquisg blomquisg merged commit e017119 into ManageIQ:master Jan 15, 2018
@blomquisg blomquisg added this to the Sprint 77 Ending Jan 15, 2018 milestone Jan 15, 2018
@agrare agrare deleted the fix_infra_manager_spec_tests branch January 15, 2018 21:51
simaishi pushed a commit that referenced this pull request Jan 15, 2018
Fix broken specs from EMS hostname validation and vCloud Refresh
(cherry picked from commit e017119)
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit f6792d7e10a3617863b893becf0e354599d17baf
Author: Greg Blomquist <blomquisg@gmail.com>
Date:   Mon Jan 15 16:50:35 2018 -0500

    Merge pull request #173 from agrare/fix_infra_manager_spec_tests
    
    Fix broken specs from EMS hostname validation and vCloud Refresh
    (cherry picked from commit e017119303f8167e5e83fbf409e996728c5c7595)

simaishi pushed a commit that referenced this pull request Jan 15, 2018
Fix broken specs from EMS hostname validation and vCloud Refresh
(cherry picked from commit e017119)
@simaishi
Copy link
Contributor

Fine backport details:

$ git log -1
commit d69f678e3cb36f3f18abc9c3d7261d0560a2a834
Author: Greg Blomquist <blomquisg@gmail.com>
Date:   Mon Jan 15 16:50:35 2018 -0500

    Merge pull request #173 from agrare/fix_infra_manager_spec_tests
    
    Fix broken specs from EMS hostname validation and vCloud Refresh
    (cherry picked from commit e017119303f8167e5e83fbf409e996728c5c7595)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants