Skip to content

Commit

Permalink
fix e2e testcases
Browse files Browse the repository at this point in the history
Signed-off-by: chyezh <[email protected]>
  • Loading branch information
chyezh committed May 22, 2024
1 parent acd17f6 commit 85ad3db
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/testcases/resource_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ import (
"github.com/milvus-io/milvus-sdk-go/v2/test/common"
)

const configQnNodes = int32(4)
const newRgNode = int32(2)
const (
configQnNodes = int32(4)
newRgNode = int32(2)
)

func resetRgs(t *testing.T, ctx context.Context, mc *base.MilvusClient) {
// release and drop all collections
Expand Down Expand Up @@ -371,7 +373,6 @@ func TestTransferReplicas(t *testing.T) {
// check search result contains search vector, which from all partitions
common.CheckErr(t, err, true)
common.CheckSearchResult(t, searchRes, common.DefaultNq, common.DefaultTopK)

}

// test transfer replica of not existed collection
Expand Down

0 comments on commit 85ad3db

Please sign in to comment.