-
Notifications
You must be signed in to change notification settings - Fork 166
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
add tests for inventory cache #1386
base: develop
Are you sure you want to change the base?
Conversation
27df53a
to
14056df
Compare
- name: execute tests again, now fed from cache | ||
include_tasks: inventory_plugin_tests.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't seem to work… I would expect the facts asserts to fail for the report api codepath, but they do not.
14056df
to
15d22c7
Compare
15d22c7
to
7c4bb5f
Compare
it's deprecated and generates warnings
cache_content_host: "{{ (cache_slurp['content'] | b64decode | from_json).get('http://localhost:3000//api/v2/hosts/1') }}" | ||
cache_content_facts: "{{ (cache_slurp['content'] | b64decode | from_json).get('http://localhost:3000//api/v2/hosts/1/facts') }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
turns out, the host id is not strictly stable, fuck
includes