Details
-
Improvement
-
Resolution: Won't Do
-
Major - P3
-
None
-
0.0.2
-
None
Description
Currently many tests use a context.Background() during their execution. This can cause problems if there is a bug in implementation because it can be difficult to find where a deadlock is occurring. We should ensure that all things that take a context.Context are given a context with a reasonable timeout. Seeing as the maximum time for running tests is 60 seconds in most cases, this timeout should be significantly less than that.