Skip to content

Commit fc25db9

Browse files
fix: linter
1 parent dc21fbc commit fc25db9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

packages/api/internal/handlers/timeout_helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package handlers
33
import (
44
"time"
55

6-
typesteam "github.com/e2b-dev/infra/packages/api/internal/db/types"
6+
typesteam "github.com/e2b-dev/infra/packages/auth/pkg/types"
77
dbtypes "github.com/e2b-dev/infra/packages/db/pkg/types"
88
)
99

packages/api/internal/handlers/timeout_helper_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"github.com/stretchr/testify/require"
88

9-
typesteam "github.com/e2b-dev/infra/packages/api/internal/db/types"
9+
typesteam "github.com/e2b-dev/infra/packages/auth/pkg/types"
1010
dbtypes "github.com/e2b-dev/infra/packages/db/pkg/types"
1111
)
1212

@@ -21,6 +21,7 @@ func testTeamWithMaxLengthHours(hours int64) *typesteam.Team {
2121
// TestCalculateTimeout verifies create-time timeout handling:
2222
// no timeout -> do not persist, short timeout -> min floor, long timeout -> team cap.
2323
func TestCalculateTimeout(t *testing.T) {
24+
t.Parallel()
2425
team := testTeamWithMaxLengthHours(1)
2526

2627
// Create without explicit timeout should not persist any starting timeout.
@@ -42,6 +43,7 @@ func TestCalculateTimeout(t *testing.T) {
4243
// TestCalculateAutoResumeTimeout verifies resume-time timeout handling:
4344
// default fallback, persisted timeout minimum floor, and team cap.
4445
func TestCalculateAutoResumeTimeout(t *testing.T) {
46+
t.Parallel()
4547
team := testTeamWithMaxLengthHours(1)
4648

4749
// Older snapshots without persisted value should use the proxy fallback timeout.

0 commit comments

Comments
 (0)