aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/pkg/reporter
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-07-17 12:30:43 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-07-17 10:43:49 +0000
commit0d1223f1dc0faefcf010d6ee3e5a1e9571a1ad1a (patch)
tree148d9e784083ab4dd498e37e9cad9c7c105fef06 /syz-cluster/pkg/reporter
parent8e0f92b7160239a55ad97008c45767e80099b96d (diff)
syz-cluster: keep only one Cc list in SessionReport
Currently, the list was both within the Series object and within the SessionReport object that also encloses Series. And, since only was was actually filled, we were unable to actually Cc the people from the series. Keep only the Cc list in the Series object and adjust the tests.
Diffstat (limited to 'syz-cluster/pkg/reporter')
-rw-r--r--syz-cluster/pkg/reporter/api_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/syz-cluster/pkg/reporter/api_test.go b/syz-cluster/pkg/reporter/api_test.go
index 74068139b..dccff237b 100644
--- a/syz-cluster/pkg/reporter/api_test.go
+++ b/syz-cluster/pkg/reporter/api_test.go
@@ -4,12 +4,13 @@
package reporter
import (
+ "testing"
+ "time"
+
"github.com/google/syzkaller/syz-cluster/pkg/api"
"github.com/google/syzkaller/syz-cluster/pkg/app"
"github.com/google/syzkaller/syz-cluster/pkg/controller"
"github.com/stretchr/testify/assert"
- "testing"
- "time"
)
func TestAPIReportFlow(t *testing.T) {
@@ -53,6 +54,7 @@ func TestAPIReportFlow(t *testing.T) {
ExtID: testSeries.ExtID,
Title: testSeries.Title,
Link: "http://link/to/series",
+ Cc: []string{"first@user.com", "second@user.com"},
Patches: []api.SeriesPatch{
{
Seq: 1,