[SERVER-70239] Automated testing for perf reports repo Created: 05/Oct/22  Updated: 14/Mar/23  Resolved: 14/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Mickey Winters Assignee: Backlog - Query Execution
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:
Story Points: 2

 Description   

currently there is a bit of friction to test the cronjob before making changes and we don't have a guide to do so. this results in partial testing or merging code and waiting for it to run and hoping it works (I've done this). its not to bad because we can go back and clean up the data set but it would be nice to have an automated test setup so you can just push to your PR and see if it will crash.

kanopy(drone) supports the ability to do this, so we can copy some of the existing configuration and reuse the docker container to test.

instead of having the test dump into the real data set we can just give it slightly different config to dump into a different cluster or into a different database. and then have another cronjob that just drops the test dataset every once and a while. this cronjob doesn't need to be kanopy cronjob. we can do an atlas trigger cronjob to do this which is easier to setup for this simple thing

this could prove to be annoying for a PR that is waiting for a test run to complete in order to merge, but it could also be a useful way of checking if its safe to merge by just pushing a comment again or something


Generated at Thu Feb 08 06:15:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.