diff options
Diffstat (limited to 'dashboard/app/reporting_test.go')
| -rw-r--r-- | dashboard/app/reporting_test.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dashboard/app/reporting_test.go b/dashboard/app/reporting_test.go index 640eac30f..6f4441583 100644 --- a/dashboard/app/reporting_test.go +++ b/dashboard/app/reporting_test.go @@ -1466,4 +1466,16 @@ func TestSkipStage(t *testing.T) { client.pollNotifs(0) client.pollBugs(0) } + + { + // Don't react to skipped reporting stages. + crash := testCrash(build, 4) + crash.Title = "skip reporting1" + client.ReportCrash(crash) + rep := client.pollBug() + c.expectEQ(string(rep.Config), `{"Index":2}`) + // If we do react, there would be an upstreaming notification. + client.pollNotifs(0) + c.client.updateBug(rep.ID, dashapi.BugStatusInvalid, "") + } } |
