Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
okJiang committed Dec 20, 2023
1 parent 2003d2a commit a34651f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions pkg/disttask/framework/taskexecutor/slot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,17 @@ import (
"github.com/stretchr/testify/require"
)

const (
managerID = "test"
taskID = int64(1)
taskID2 = int64(2)
)

func TestSlotManager(t *testing.T) {
sm := slotManager{
executorSlotInfos: make(map[int64]*slotInfo),
available: 10,
}

var (
taskID = int64(1)
taskID2 = int64(2)
)

task := &proto.Task{
ID: taskID,
Priority: 1,
Expand Down

0 comments on commit a34651f

Please sign in to comment.