提交 25dda07a 编写于 作者: A ascrutae

[Agent] fix jedis testcase failed

上级 599c8521
......@@ -16,10 +16,9 @@
*
*/
package org.apache.skywalking.apm.plugin.jedis.v2;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;
import org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance;
import org.junit.After;
......@@ -45,7 +44,7 @@ public class JedisClusterConstructorWithListHostAndPortArgInterceptorTest {
@Before
public void setUp() throws Exception {
hostAndPortSet = new HashSet<HostAndPort>();
hostAndPortSet = new LinkedHashSet<HostAndPort>();
interceptor = new JedisClusterConstructorWithListHostAndPortArgInterceptor();
hostAndPortSet.add(new HostAndPort("127.0.0.1", 6379));
hostAndPortSet.add(new HostAndPort("127.0.0.1", 16379));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册