diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-10-27 15:23:06 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-11-02 10:32:36 +0000 |
| commit | c5562b0d28c05b1e9499ff24bebdfd8037b2f82c (patch) | |
| tree | d35170f05837be9c0ff31492f9a4ad67efd40bb9 /dashboard/app/subsystem_test.go | |
| parent | 69904c9f85fcfb289eb529599176d42bcb3609eb (diff) | |
dashboard: forward incoming commands emails
Instead of reminding users to mention our mailing lists, forward their
emails there automatically.
Closes #4260.
Diffstat (limited to 'dashboard/app/subsystem_test.go')
| -rw-r--r-- | dashboard/app/subsystem_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dashboard/app/subsystem_test.go b/dashboard/app/subsystem_test.go index 3462a471f..8bb560d32 100644 --- a/dashboard/app/subsystem_test.go +++ b/dashboard/app/subsystem_test.go @@ -1005,7 +1005,7 @@ func TestRemindersPriority(t *testing.T) { defer c.Close() client := c.makeClient(clientSubsystemRemind, keySubsystemRemind, true) - mailingList := c.config().Namespaces["subsystem-reminders"].Reporting[1].Config.(*EmailConfig).Email + cc := EmailOptCC([]string{"bugs@syzkaller.com", "default@maintainers.com"}) build := testBuild(1) client.UploadBuild(build) @@ -1018,7 +1018,7 @@ func TestRemindersPriority(t *testing.T) { client.ReportCrash(aFirst) sender, firstExtID := client.pollEmailAndExtID() c.incomingEmail(sender, "#syz set prio: low\n", - EmailOptFrom("test@requester.com"), EmailOptCC([]string{mailingList})) + EmailOptFrom("test@requester.com"), cc) c.advanceTime(time.Hour) // WARNING: a second, normal prio @@ -1036,7 +1036,7 @@ func TestRemindersPriority(t *testing.T) { client.ReportCrash(aThird) sender, thirdExtID := client.pollEmailAndExtID() c.incomingEmail(sender, "#syz set prio: high\n", - EmailOptFrom("test@requester.com"), EmailOptCC([]string{mailingList})) + EmailOptFrom("test@requester.com"), cc) c.advanceTime(time.Hour) // Report bugs once more to pretend they're still valid. |
