Skip to content

Commit

Permalink
feat:add cache about networktopology and calculateNetworkTopologyScore
Browse files Browse the repository at this point in the history
Signed-off-by: huangmin <2107139596@qq.com>
  • Loading branch information
MinH-09 committed Dec 7, 2023
1 parent 2fd63f8 commit 9831f25
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scheduler/networktopology/network_topology_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@ import (
"testing"
"time"

cachev8 "github.com/go-redis/cache/v8"
"github.com/go-redis/redismock/v8"
"github.com/stretchr/testify/assert"
"go.uber.org/mock/gomock"

"d7y.io/dragonfly/v2/pkg/container/set"
pkgredis "d7y.io/dragonfly/v2/pkg/redis"
"d7y.io/dragonfly/v2/scheduler/cache"
"d7y.io/dragonfly/v2/scheduler/resource"
storagemocks "d7y.io/dragonfly/v2/scheduler/storage/mocks"
cachev8 "github.com/go-redis/cache/v8"
"github.com/go-redis/redismock/v8"
"github.com/stretchr/testify/assert"
"go.uber.org/mock/gomock"
)

func Test_NewNetworkTopology(t *testing.T) {
Expand Down

0 comments on commit 9831f25

Please sign in to comment.