#fixed code
                                @Test
    @Ignore
    public void testGetTestString() {
        RedisClient redisClient = new RedisClient("localhost", "123", 6378, false);
        String result = redisClient.getServerByToken("test");
        assertEquals("It's working!", result);
    }
#vulnerable code 
                                @Test
    @Ignore
    public void testGetTestString() {
        RealRedisClient redisClient = new RealRedisClient("localhost", "123", 6378);
        String result = redisClient.getServerByToken("test");
        assertEquals("It's working!", result);
    } 
                            #location 5 
                            #vulnerability type RESOURCE_LEAK