aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/bisect_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-10-22 18:59:10 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-10-22 22:02:56 +0200
commit4e740c00a474b578896830c7d27d90d9474364bb (patch)
treeff0f2787b64d3e339e2166325f236b2ec8227846 /dashboard/app/bisect_test.go
parent1616d34edcf609e9cff417106daa2152bbe754f8 (diff)
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
Diffstat (limited to 'dashboard/app/bisect_test.go')
-rw-r--r--dashboard/app/bisect_test.go4
1 files changed, 2 insertions, 2 deletions
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:"))