Jira (PDB-5230) Add simple smoke tests for collected external queries

17 views
Skip to first unread message

Rob Browning (Jira)

unread,
Aug 10, 2021, 3:39:04 PM8/10/21
to puppe...@googlegroups.com
Rob Browning created an issue
 
PuppetDB / Improvement PDB-5230
Add simple smoke tests for collected external queries
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2021/08/10 12:38 PM
Priority: Normal Normal
Reporter: Rob Browning

Add a lein test that iterates over the collected test queries (i.e. those in load-test/) and checks that they at least succeed, i.e. that they produce http status 200, and that the json result is sane.

It's OK for the db to be empty for now, though if it's easy to come up with some suitable trivial data, then great. While we may eventually want to improve the tests, for now let's just make sure the queries don't fail, if nothing else. That alone would be sufficient to catch problems like the recent group_by issue, assuming our suite includes one of those queries.

Also not critical, but we might want to consider moving the load-test queries to a more general, shared location, perhaps somewhere in test-resources.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Rob Browning (Jira)

unread,
Aug 10, 2021, 3:40:04 PM8/10/21
to puppe...@googlegroups.com

Austin Blatt (Jira)

unread,
Aug 11, 2021, 4:11:03 PM8/11/21
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Sprint: HAHA/Grooming HA 2021-08-25

Austin Blatt (Jira)

unread,
Aug 11, 2021, 4:23:02 PM8/11/21
to puppe...@googlegroups.com

Austin Blatt (Jira)

unread,
Aug 25, 2021, 4:06:03 PM8/25/21
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Sprint: HA 2021-08-25 , HAHA/Grooming 2

Austin Blatt (Jira)

unread,
Sep 3, 2021, 12:46:02 PM9/3/21
to puppe...@googlegroups.com

Stel Abrego (Jira)

unread,
Sep 3, 2021, 12:46:03 PM9/3/21
to puppe...@googlegroups.com
Stel Abrego assigned an issue to Stel Abrego
Change By: Stel Abrego
Assignee: Austin Blatt Stel Abrego

Austin Blatt (Jira)

unread,
Sep 8, 2021, 12:39:02 PM9/8/21
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Sprint: HA 2021-08-25, HA 2021-09-08 , HA 2021-09-22

Austin Blatt (Jira)

unread,
Sep 22, 2021, 12:37:04 PM9/22/21
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Release Notes: Not Needed

Sebastian Miclea (Jira)

unread,
Oct 5, 2021, 9:30:03 AM10/5/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages