Skip to content

Commit

Permalink
fix: update correctness test selector (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 authored Jun 28, 2024
1 parent 69afdc4 commit 670ff6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion cd/manager/jobmanager/jobManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions cd/manager/notifs/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ const (
workflowNotifField_Branch = "Branch"
workflowNotifField_TestSelector = "Test Selector"
)
const (
workflowTestSelector_Wildcard = "."
workflowTestSelector_All = "all"
)

type workflowNotif struct {
state job.JobState
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 670ff6c

Please sign in to comment.