From 4e740c00a474b578896830c7d27d90d9474364bb Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 22 Oct 2020 18:59:10 +0200 Subject: dashboard/app: show more detailed info about bisections 1. Split cause/fix bisections in the bug table. 2. Show if bisection is inconclusive/unreliable in the bug table. 3. Show if bisection is unreliable on the bug page. Update #2098 --- dashboard/app/bisect_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dashboard/app/bisect_test.go') diff --git a/dashboard/app/bisect_test.go b/dashboard/app/bisect_test.go index 31edbadf0..8db11a0ba 100644 --- a/dashboard/app/bisect_test.go +++ b/dashboard/app/bisect_test.go @@ -1089,7 +1089,7 @@ func TestBugBisectionStatus(t *testing.T) { url := fmt.Sprintf("/%v", bugs[0].Namespace) content, err := c.httpRequest("GET", url, "", AccessAdmin) c.expectEQ(err, nil) - c.expectTrue(bytes.Contains(content, []byte("cause"))) + c.expectTrue(bytes.Contains(content, []byte("done"))) // Advance time by 30 days and read out any notification emails. { @@ -1134,7 +1134,7 @@ func TestBugBisectionStatus(t *testing.T) { c.expectOK(c.client2.JobDone(done)) content, err = c.httpRequest("GET", url, "", AccessAdmin) c.expectEQ(err, nil) - c.expectTrue(bytes.Contains(content, []byte("cause+fix"))) + c.expectTrue(bytes.Contains(content, []byte("done"))) msg := c.client2.pollEmailBug() c.expectTrue(strings.Contains(msg.Body, "syzbot suspects this issue was fixed by commit:")) -- cgit mrf-deployment