fix: remove EnableStorageV2 override in TestProxy (#46594) (#46596)

Related to #46594

Remove the temporary config override that forced EnableStorageV2 to
false in TestProxy. This override caused test failures with the new load
logic, as segments could not be loaded with v1 format.

This PR is a quick fix to make ut back to normal

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
congqixia 2025-12-25 15:35:18 +08:00 committed by GitHub
parent b2fa3dd0ae
commit 6e07c3fee8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -962,8 +962,6 @@ func TestProxy(t *testing.T) {
params.DataNodeGrpcServerCfg.IP = "localhost" params.DataNodeGrpcServerCfg.IP = "localhost"
params.StreamingNodeGrpcServerCfg.IP = "localhost" params.StreamingNodeGrpcServerCfg.IP = "localhost"
params.Save(params.MQCfg.Type.Key, "pulsar") params.Save(params.MQCfg.Type.Key, "pulsar")
params.CommonCfg.EnableStorageV2.SwapTempValue("false")
defer params.CommonCfg.EnableStorageV2.SwapTempValue("")
ctx, cancel := context.WithCancel(context.Background()) ctx, cancel := context.WithCancel(context.Background())
ctx = GetContext(ctx, "root:123456") ctx = GetContext(ctx, "root:123456")