Skip to content

Commit

Permalink
fix(pkg-nexus): scheduler
Browse files Browse the repository at this point in the history
Adjust tests and bulk scheduler to rebasing.
  • Loading branch information
KonsumGandalf committed Jan 25, 2024
1 parent 2e7d532 commit 398021b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion pkg/nexus/bulk/scheduler/bulk-scheduler.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package scheduler

import (
"log"
"time"

"github.com/nuclio/nuclio/pkg/nexus/bulk/models"
Expand Down
2 changes: 1 addition & 1 deletion pkg/nexus/bulk/scheduler/bulk-scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
bulk "github.com/nuclio/nuclio/pkg/nexus/bulk/scheduler"
"github.com/nuclio/nuclio/pkg/nexus/common/models/config"
common "github.com/nuclio/nuclio/pkg/nexus/common/queue"
scheduler "github.com/nuclio/nuclio/pkg/nexus/common/scheduler"
"github.com/nuclio/nuclio/pkg/nexus/common/scheduler"
utils "github.com/nuclio/nuclio/pkg/nexus/utils"
"github.com/stretchr/testify/suite"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/nexus/deadline/scheduler/deadline-scheduler_test.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package deadline_test

import (
"fmt"
"net/http"
"testing"
"time"
"fmt"

"github.com/nuclio/nuclio/pkg/nexus/common/models/config"
common "github.com/nuclio/nuclio/pkg/nexus/common/queue"
"github.com/nuclio/nuclio/pkg/nexus/common/scheduler"
models "github.com/nuclio/nuclio/pkg/nexus/deadline/models"
"github.com/nuclio/nuclio/pkg/nexus/deadline/models"
deadline "github.com/nuclio/nuclio/pkg/nexus/deadline/scheduler"
utils "github.com/nuclio/nuclio/pkg/nexus/utils"
"github.com/stretchr/testify/suite"
Expand Down
2 changes: 1 addition & 1 deletion pkg/nexus/idle/scheduler/idle-scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (suite *IdleSchedulerTestSuite) SetupTest() {
}

baseScheduler := scheduler.
NewBaseNexusScheduler(defaultQueue, &baseSchedulerConfig, &nexusConfig, Client)
NewBaseNexusScheduler(defaultQueue, &baseSchedulerConfig, &nexusConfig, Client, nil)

suite.is = *idle.NewScheduler(baseScheduler)
}
Expand Down

0 comments on commit 398021b

Please sign in to comment.