index: Cancel context for tests

This commit is contained in:
Alexander Neumann 2018-10-28 11:17:04 +01:00
parent b096fc7abf
commit 944b446ac0
1 changed files with 1 additions and 0 deletions

View File

@ -252,6 +252,7 @@ func TestIndexSave(t *testing.T) {
}
ctx, cancel := context.WithCancel(context.TODO())
defer cancel()
errCh := make(chan error)
go checker.Structure(ctx, errCh)