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

Side by Side Diff: task_scheduler/go/db/cache_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/cache.go ('k') | task_scheduler/go/db/comments.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 "go.skia.org/infra/go/testutils" 8 "go.skia.org/infra/go/testutils"
9 ) 9 )
10 10
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 // Update the task. 200 // Update the task.
201 t3.Commits = []string{"c", "d", "f"} 201 t3.Commits = []string{"c", "d", "f"}
202 assert.False(t, t3.Done()) 202 assert.False(t, t3.Done())
203 assert.NoError(t, db.PutTask(t3)) 203 assert.NoError(t, db.PutTask(t3))
204 assert.NoError(t, c.Update()) 204 assert.NoError(t, c.Update())
205 tasks, err = c.UnfinishedTasks() 205 tasks, err = c.UnfinishedTasks()
206 assert.NoError(t, err) 206 assert.NoError(t, err)
207 testutils.AssertDeepEqual(t, []*Task{t3}, tasks) 207 testutils.AssertDeepEqual(t, []*Task{t3}, tasks)
208 } 208 }
OLDNEW
« no previous file with comments | « task_scheduler/go/db/cache.go ('k') | task_scheduler/go/db/comments.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698