Jira (FACT-2905) File modification date check

3 views
Skip to first unread message

Andrei Filipovici (Jira)

unread,
Dec 18, 2020, 8:34:04 AM12/18/20
to puppe...@googlegroups.com
Andrei Filipovici created an issue
 
Facter / Task FACT-2905
File modification date check
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/12/18 5:33 AM
Priority: Normal Normal
Reporter: Andrei Filipovici

In the caching acceptance tests we need to check that the caching files are not accidentally being rewritten.

Acceptance test ttls_cache_missing_facts.rb uses {agent.ls_ld} which returns the modification date in HH:MM format, which is not sufficient.

We need the modification date stamp at least in seconds.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Andrei Filipovici (Jira)

unread,
Dec 18, 2020, 9:23:03 AM12/18/20
to puppe...@googlegroups.com
Andrei Filipovici updated an issue
Change By: Andrei Filipovici
In the caching acceptance tests we need to check that the caching files are not accidentally being rewritten.

Acceptance test ttls_cache_missing_facts.rb uses \{agent.ls_ld} which returns the modification date in HH:MM format, which is not sufficient.

We need the modification date stamp at least in seconds.


Also in that test we need to also make specific fact requests not just all facts requests.
Reply all
Reply to author
Forward
0 new messages