Skip to content

Conversation

@evgeni
Copy link
Member

@evgeni evgeni commented Apr 22, 2022

@evgeni evgeni force-pushed the inventory-cache-tests branch from 27df53a to 14056df Compare April 22, 2022 08:34
Comment on lines +9 to +10
- name: execute tests again, now fed from cache
include_tasks: inventory_plugin_tests.yml
Copy link
Member Author

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.

@evgeni evgeni force-pushed the inventory-cache-tests branch from 14056df to 15d22c7 Compare April 22, 2022 09:09
@evgeni evgeni force-pushed the inventory-cache-tests branch from 15d22c7 to 7c4bb5f Compare April 26, 2022 18:54
it's deprecated and generates warnings
Comment on lines +49 to +50
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') }}"
Copy link
Member Author

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

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

Successfully merging this pull request may close these issues.

1 participant