mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #15201 from dbadoy/main
pkg/schedule: correct comparison for FIFO schedule test
This commit is contained in:
commit
24f5d4a6fb
@ -54,7 +54,7 @@ func TestFIFOSchedule(t *testing.T) {
|
||||
}
|
||||
|
||||
s.WaitFinish(100)
|
||||
if s.Scheduled() != 100 {
|
||||
t.Errorf("scheduled = %d, want %d", s.Scheduled(), 100)
|
||||
if s.Finished() != 100 {
|
||||
t.Errorf("finished = %d, want %d", s.Finished(), 100)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user