Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: task_scheduler/go/db/modified_tasks_test.go

Issue 2296763008: [task scheduler] Move files from build_scheduler/ to task_scheduler/ (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « task_scheduler/go/db/modified_tasks.go ('k') | task_scheduler/go/db/task.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 package db 1 package db
2 2
3 import ( 3 import (
4 "testing" 4 "testing"
5 "time" 5 "time"
6 6
7 assert "github.com/stretchr/testify/require" 7 assert "github.com/stretchr/testify/require"
8 8
9 "go.skia.org/infra/go/testutils" 9 "go.skia.org/infra/go/testutils"
10 ) 10 )
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 assert.NoError(t, err) 88 assert.NoError(t, err)
89 oneId = id 89 oneId = id
90 } 90 }
91 _, err := m.StartTrackingModifiedTasks() 91 _, err := m.StartTrackingModifiedTasks()
92 assert.True(t, IsTooManyUsers(err)) 92 assert.True(t, IsTooManyUsers(err))
93 93
94 m.StopTrackingModifiedTasks(oneId) 94 m.StopTrackingModifiedTasks(oneId)
95 _, err = m.StartTrackingModifiedTasks() 95 _, err = m.StartTrackingModifiedTasks()
96 assert.NoError(t, err) 96 assert.NoError(t, err)
97 } 97 }
OLDNEW
« no previous file with comments | « task_scheduler/go/db/modified_tasks.go ('k') | task_scheduler/go/db/task.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698