Merge pull request #674 from ascrutae/fix/jedis-testcase-failed

[Agent] fix jedis testcase failed
This commit is contained in:
吴晟 Wu Sheng 2017-12-14 17:00:03 +08:00 committed by GitHub
commit a99cba7065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -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));