You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
mytrygithub
changed the title
执行测试从从库接收数据错误,没有异常输出
执行报错:panic: interface conversion: interface {} is int64, not []uint8
May 18, 2023
mytrygithub
changed the title
执行报错:panic: interface conversion: interface {} is int64, not []uint8
[bug] 执行退出 报错:panic: interface conversion: interface {} is int64, not []uint8
May 18, 2023
1、遇到的问题
执行测试报错:panic: interface conversion: interface {} is int64, not []uint8
2、分析
错误位置:
CheckFullValueFetchAll 中:targetValue = targetReply[i].([]byte)
错误直接原因:
PipeRawCommand 中执行p.conn.Receive出现错误,继续执行到了 result[i] = common.TypeChanged
相关代码:
src/full_check/client/client.go 中PipeRawCommand代码:
我的测试简单调用关系为:
CheckFullValueFetchAll->PipeValueCommand->PipeRawCommand(commands, "")
3、初步结论:
PipeRawCommand 中 specialErrorPrefix 在一些调用中设置为“”, 这样就忽略掉了一些错误,都设置为common.TypeChanged。
这样导致无法发现server的一些错误,同时测试过程无法继续。
The text was updated successfully, but these errors were encountered: