From 33db2ee1e11d46a551edae042f9427b812f84f70 Mon Sep 17 00:00:00 2001 From: Mohsin Zaidi <2236875+smrz2001@users.noreply.github.com> Date: Fri, 28 Jun 2024 15:21:45 -0400 Subject: [PATCH] fix: update correctness test selector --- cd/manager/jobmanager/jobManager.go | 2 +- cd/manager/notifs/workflow.go | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/cd/manager/jobmanager/jobManager.go b/cd/manager/jobmanager/jobManager.go index 86718a2..66c8edd 100644 --- a/cd/manager/jobmanager/jobManager.go +++ b/cd/manager/jobmanager/jobManager.go @@ -41,7 +41,7 @@ const ( tests_Repo = "ceramic-tests" tests_Ref = "main" tests_Workflow = "run-durable.yml" - tests_Selector = "fast" + tests_Selector = "correctness/fast" ) const defaultCasMaxAnchorWorkers = 1 diff --git a/cd/manager/notifs/workflow.go b/cd/manager/notifs/workflow.go index 52f9eff..44f2825 100644 --- a/cd/manager/notifs/workflow.go +++ b/cd/manager/notifs/workflow.go @@ -17,10 +17,6 @@ const ( workflowNotifField_Branch = "Branch" workflowNotifField_TestSelector = "Test Selector" ) -const ( - workflowTestSelector_Wildcard = "." - workflowTestSelector_All = "all" -) type workflowNotif struct { state job.JobState @@ -67,10 +63,6 @@ func (w workflowNotif) getFields() []discord.EmbedField { } // If this is a test workflow, also report the test selector. if testSelector, found := w.workflow.Inputs[job.WorkflowJobParam_TestSelector].(string); found { - // Convert wildcard selector to "all" selector - if testSelector == workflowTestSelector_Wildcard { - testSelector = workflowTestSelector_All - } notifFields = append( notifFields, discord.EmbedField{