func TestFillBtListAsync(t *testing.T) { for i, _ := range M.Tasks { t := M.Tasks[i] if t.status() == _FLAG_normal && t.IsBt() { FillBtListAsync(t.Id, t.Cid, nil) } } select { case <-time.After(5 * time.Second): return } }