chaosblade-io / chaosblade

An easy to use and powerful chaos engineering experiment toolkit.(阿里巴巴开源的一款简单易用、功能强大的混沌实验注入工具)
https://chaosblade.io
Apache License 2.0
5.95k stars 946 forks source link

chaosblade-ex-ec-os tc fun portSetToPortRanges miscalculation #983

Closed zhenming98 closed 9 months ago

zhenming98 commented 9 months ago

Type: bug report

Describe what happened (or what feature you want)

An error occurred while calculating the port range Input "22,19527" Expected return [[22 22] [19527 19527]] Actual return [[22 22]] Input "22,30-35" Expected return [[22 22] [30 35]] Actual return [[22 22] [31 35]]

image

Tell us your environment chaosblade 1.7.3

spencercjh commented 9 months ago

这是一个非常严重,明显且低级的 bug,请重视!!!

spencercjh commented 9 months ago

image image