| Use case: Create a custom group with a structured core fact and a custom fact. Add a long TTLS for the group.
- check if the value returned is correct - check it is the only fact in cache - check it cached the value that it printed
- request the core fact again
- check it prints the value from the cache
- check if the value is correct - check it is the only value in the cache - check it cached the value that it printed
- request the custom fact again
- check it prints the value from the cache
- request both facts with to_hash
- check both facts are written to the cache file
- check it prints the value from the cache - check the cache did not change - check the core fact value from the cache did not change
- check it prints the value from the cache - check the cache did not change - check the custom fact value from the cache did not change |