package tests

import (
	"testing"
	"context"
	"github.com/guo-shaoge/tiflash-autoscale/pkg/core"
	"github.com/guo-shaoge/tiflash-autoscale/pkg/util/log/logger"
	"github.com/stretchr/testify/assert"
)

func TestClusterMgr(t *testing.T) {
	logger.InTest = true
	mgr := core.NewClusterMgr(context.Background(), "../../tools/config_template/template.yaml")
	assert.NotNil(t, mgr)
}
