test: add codecov (#1861)

* test: add codecov

* test: add codecov
This commit is contained in:
Kevin Wan
2022-05-03 21:22:15 +08:00
committed by GitHub
parent bab72b7630
commit ec1de4f48d
4 changed files with 115 additions and 0 deletions

View File

@@ -75,6 +75,12 @@ func TestLogDuration(t *testing.T) {
}),
req: "foo",
},
{
name: "timeout",
ctx: context.Background(),
req: "foo",
duration: slowThreshold.Load() + time.Second,
},
}
for _, test := range tests {