From 23db0e833969cf0e7e2b480487e5c656f473fa59 Mon Sep 17 00:00:00 2001 From: Omar Selo Date: Fri, 25 Oct 2024 11:00:40 +0000 Subject: [PATCH] Add rerun results to seed data --- backend/scripts/seed_data.py | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/backend/scripts/seed_data.py b/backend/scripts/seed_data.py index 9dcfc5fe..e1c34012 100644 --- a/backend/scripts/seed_data.py +++ b/backend/scripts/seed_data.py @@ -58,6 +58,18 @@ environment="rpi2", ci_link="http://example13", ), + StartTestExecutionRequest( + family=FamilyName.SNAP, + name="core22", + version="20230531", + revision=1, + track="22", + store="ubuntu", + arch="armhf", + execution_stage="beta", + environment="rpi2", + ci_link="http://example14", + ), StartTestExecutionRequest( family=FamilyName.SNAP, name="core22", @@ -196,7 +208,7 @@ test_results=[ C3TestResult( name="docker/compose-and-basic_armhf", - status=C3TestResultStatus.PASS, + status=C3TestResultStatus.FAIL, category="Docker containers", comment="", io_log=dedent( @@ -282,6 +294,25 @@ ), ], ), + EndTestExecutionRequest( + ci_link="http://example13", + test_results=[ + C3TestResult( + name="docker/compose-and-basic_armhf", + status=C3TestResultStatus.PASS, + category="Docker containers", + comment="", + io_log="", + ), + C3TestResult( + name="after-suspend-audio/alsa-loopback-automated", + status=C3TestResultStatus.FAIL, + category="Audio tests", + comment="", + io_log="", + ), + ], + ), EndTestExecutionRequest( ci_link="http://example2", test_results=[