Fix lint in integration/client
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -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(), "/", "_")
|
||||
|
||||
Reference in New Issue
Block a user