Jira (FACT-2857) Acceptance test for cache with user query

26 views
Skip to first unread message

Bogdan Irimie (Jira)

unread,
Nov 13, 2020, 10:16:03 AM11/13/20
to puppe...@googlegroups.com
Bogdan Irimie created an issue
 
Facter / Task FACT-2857
Acceptance test for cache with user query
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/11/13 7:15 AM
Priority: Normal Normal
Reporter: Bogdan Irimie

Use case: 

Create a custom group with a structured core fact and a custom fact. Add a long TTLS for the group.

  • request the core fact 

    - 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

  • request the custom fact 

    - 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 

 

  • request the custom fact 

    - 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

 

  • request the core fact 

    - 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

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

Bogdan Irimie (Jira)

unread,
Nov 13, 2020, 10:19:04 AM11/13/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
*Use case:* 


Create a custom group with a structured core fact and a custom fact. Add a long TTLS for the group.

- request the core fact 


    - 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

 
- request the custom fact 


    - 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 

 

- request the custom fact 


    - 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

 

- request the core fact 


    - 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

Bogdan Irimie (Jira)

unread,
Nov 13, 2020, 10:53:03 AM11/13/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
*Use case:* 

Create a custom group with a structured core fact and a custom fact. Add a long TTLS for the group.
- * request the core fact 

    -
** 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

 
-
** request the custom fact 

    -
** 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 

 
-
* request the custom fact 

    -
** 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

 
-
* request the core fact 

    -
** 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

Bogdan Irimie (Jira)

unread,
Nov 18, 2020, 9:14:03 AM11/18/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ready for triage ghost 25.11

Sebastian Miclea (Jira)

unread,
Nov 19, 2020, 2:20:03 AM11/19/20
to puppe...@googlegroups.com

Sebastian Miclea (Jira)

unread,
Nov 24, 2020, 3:10:04 PM11/24/20
to puppe...@googlegroups.com
Sebastian Miclea updated an issue
*Use case:* 

Create a custom group with a structured core fact and a custom fact. Add a long TTLS for the group.
* request the core fact 
** 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
** request the custom fact 
** 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 


* request the custom fact 
** 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

* request the core fact 
** 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

Bogdan Irimie (Jira)

unread,
Nov 25, 2020, 9:04:05 AM11/25/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11 , ready for triage 2

Bogdan Irimie (Jira)

unread,
Dec 2, 2020, 2:39:03 AM12/2/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11, ghost-2.12 , ready for triage 2

Bogdan Irimie (Jira)

unread,
Dec 15, 2020, 10:30:04 AM12/15/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
*Use case:* 

Create a custom group with a structured core fact and a custom fact. Add a long TTLS for the group.
* request the core fact 
** 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

* * request the custom fact 

** 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 

* request the custom fact 
** 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

* request the core fact 
** 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

Sebastian Miclea (Jira)

unread,
Dec 15, 2020, 11:44:04 AM12/15/20
to puppe...@googlegroups.com
Sebastian Miclea updated an issue
Change By: Sebastian Miclea
*Use case:* 

Create a custom group with a structured core fact and a custom fact. Add a long TTLS for the group.
* request the core fact 
** 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


* request the custom fact 
** 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 


* request the custom fact 
** 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

* request the core fact 
** 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

Bogdan Irimie (Jira)

unread,
Dec 16, 2020, 1:58:16 PM12/16/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11, ghost-2.12, ready for triage 2 ghost-19.12

Bogdan Irimie (Jira)

unread,
Dec 18, 2020, 11:57:04 AM12/18/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11, ghost-2.12, ghost-18.12 , ready for triage 3

Bogdan Irimie (Jira)

unread,
Jan 5, 2021, 3:17:03 AM1/5/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11, ghost-2.12, ghost-18.12, ready for triage 3 ghost-13.01.2020

Bogdan Irimie (Jira)

unread,
Jan 13, 2021, 9:04:03 AM1/13/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11, ghost-2.12, ghost-18.12, ghost-13.01.2020 , ready for triage 3

Ciprian Badescu (Jira)

unread,
Feb 4, 2021, 5:38:04 AM2/4/21
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
Change By: Ciprian Badescu
Fix Version/s: FACT 4.0.50
Reply all
Reply to author
Forward
0 new messages