From 3e2dc377b7f791dd4e90b476d0f836670539aad6 Mon Sep 17 00:00:00 2001 From: ConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com> Date: Fri, 25 Nov 2022 00:41:48 -0600 Subject: [PATCH] Add new task ID --- .../e2e_tests/verifier/report_generator.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper.Tests/e2e_tests/verifier/report_generator.go b/ConfusedPolarBear.Plugin.IntroSkipper.Tests/e2e_tests/verifier/report_generator.go index 708f864..2c4fb3b 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper.Tests/e2e_tests/verifier/report_generator.go +++ b/ConfusedPolarBear.Plugin.IntroSkipper.Tests/e2e_tests/verifier/report_generator.go @@ -113,11 +113,13 @@ func runAnalysisAndWait(hostAddress, apiKey string, pollInterval time.Duration) SendRequest("POST", hostAddress+"/Intros/EraseTimestamps", apiKey) fmt.Println() - // The task ID changed with v0.1.7. - // Old task ID: 8863329048cc357f7dfebf080f2fe204 - // New task ID: 6adda26c5261c40e8fa4a7e7df568be2 + var taskIds = []string{ + "f64d8ad58e3d7b98548e1a07697eb100", // v0.1.8 + "8863329048cc357f7dfebf080f2fe204", + "6adda26c5261c40e8fa4a7e7df568be2"} + fmt.Println("[+] Starting analysis task") - for _, id := range []string{"8863329048cc357f7dfebf080f2fe204", "6adda26c5261c40e8fa4a7e7df568be2"} { + for _, id := range taskIds { body := SendRequest("POST", hostAddress+"/ScheduledTasks/Running/"+id, apiKey) fmt.Println()