mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
pkg/schedule:correct comparison for FIFO schedule test
Signed-off-by: dbadoy4874 <dbadoy4874@gmail.com>
This commit is contained in:
parent
b9b7c9328e
commit
ebb5e74ace
@ -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