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

Side by Side Diff: task_scheduler/go/db/task_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/task.go ('k') | task_scheduler/go/db/testutil.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 "bytes" 4 "bytes"
5 "encoding/gob" 5 "encoding/gob"
6 "fmt" 6 "fmt"
7 "sort" 7 "sort"
8 "testing" 8 "testing"
9 "time" 9 "time"
10 10
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 _ = d.Process(invalid) 523 _ = d.Process(invalid)
524 for i := 0; i < 250; i++ { 524 for i := 0; i < 250; i++ {
525 _ = d.Process(serialized) 525 _ = d.Process(serialized)
526 } 526 }
527 527
528 // Result should return error. 528 // Result should return error.
529 result, err := d.Result() 529 result, err := d.Result()
530 assert.Error(t, err) 530 assert.Error(t, err)
531 assert.Equal(t, 0, len(result)) 531 assert.Equal(t, 0, len(result))
532 } 532 }
OLDNEW
« no previous file with comments | « task_scheduler/go/db/task.go ('k') | task_scheduler/go/db/testutil.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698