apache / shenyu

Apache ShenYu is a Java native API Gateway for service proxy, protocol conversion and API governance.
https://shenyu.apache.org/
Apache License 2.0
8.44k stars 2.93k forks source link

[Question] <ci error when running shenyu-admin PluginMapperTest.selectByName() test method> #2955

Closed AhahaGe closed 2 years ago

AhahaGe commented 2 years ago

Question

I submit a pr https://github.com/apache/incubator-shenyu/pull/2953. But ci said error occurs, detail is below picture. It said PluginMapperTest.selectByName() line 67 final PluginDO resultPluginDO = pluginMapper.selectByName(pluginDO.getName()); returned 3 result. I wonder test methods are executed concurrently and this method returned object inserted by other method and their name are the same.

image

AhahaGe commented 2 years ago

can be closed as fixed in pr 2953