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

when localhost has a name, puppet test fails #737

Closed
daonb opened this issue Jan 29, 2014 · 1 comment
Closed

when localhost has a name, puppet test fails #737

daonb opened this issue Jan 29, 2014 · 1 comment

Comments

@daonb
Copy link

daonb commented Jan 29, 2014

$ hostname
vd-bennyd
$ ralph test ralph
Creating test database for alias 'default'...
.ss.......................................ss...........sss.ssssssss.........................................................................................................F..............................................................................................................................ss.
======================================================================
FAIL: test_get_ip_addresses_hostnames_sets (ralph.scan.tests.plugins.test_puppet.PuppetPluginTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/ralph/src/ralph/scan/tests/plugins/test_puppet.py", line 126, in test_get_ip_addresses_hostnames_sets
    ({'127.0.0.1', '127.0.0.2'}, {'localhost'}),
AssertionError: Tuples differ: (set([u'127.0.0.2', u'127.0.0.... != (set([u'127.0.0.2', u'127.0.0....

First differing element 1:
set([u'vd-bennyd', 'localhost'])
set([u'localhost'])

- (set([u'127.0.0.1', u'127.0.0.2']), set(['localhost', u'vd-bennyd']))
?                                                     --------------

+ (set([u'127.0.0.1', u'127.0.0.2']), set([u'localhost']))
?                                          +


----------------------------------------------------------------------
Ran 302 tests in 101.329s
@vi4m
Copy link
Contributor

vi4m commented Jan 31, 2014

Thanks daonb, looks like puppet code oversight, we will fix it

@quamilek quamilek closed this as completed Jul 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants