executor: avoid panic in the test (#25114)
executor: avoid panic in the test (#25114)

 
coocood/tidb,kyle-wang/tidb,kyle-wang/tidb,ngaut/tidb,pingcap/tidb,ngaut/tidb,pingcap/tidb,c4pt0r/tidb,coocood/tidb,c4pt0r/tidb,pingcap/tidb,ngaut/tidb,pingcap/tidb,kyle-wang/tidb,ngaut/tidb,c4pt0r/tidb,kyle-wang/tidb,pingcap/tidb,ngaut/tidb,c4pt0r/tidb,c4pt0r/tidb,kyle-wang/tidb,kyle-wang/tidb,ngaut/tidb,c4pt0r/tidb,pingcap/tidb