Fix lint in integration/client

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2023-10-27 21:37:44 -07:00
parent ddd73ad300
commit abfc8be530
5 changed files with 7 additions and 6 deletions

View File

@@ -41,7 +41,6 @@ import (
exec "golang.org/x/sys/execabs"
)
//nolint:unused // Ignore on non-Linux
func newDaemonWithConfig(t *testing.T, configTOML string) (*Client, *daemon, func()) {
if testing.Short() {
t.Skip()
@@ -263,11 +262,6 @@ func testRestartMonitorPausedTaskWithAlways(t *testing.T, client *Client, interv
t.Skip("Pause task is not supported on Windows")
}
const (
epsilon = 1 * time.Second
count = 20
)
var (
ctx, cancel = testContext(t)
id = strings.ReplaceAll(t.Name(), "/", "_")