# Error running gradlew test on latest master

**URL:** <https://discuss.elastic.co/t/error-running-gradlew-test-on-latest-master/3138>\
**Category:** Elasticsearch\
**Created:** [July 22, 2010, 3:13pm UTC](https://discuss.elastic.co/t/error-running-gradlew-test-on-latest-master/3138 "2010-07-22T15:13:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppearcy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppearcy/32/980_2.png) [@ppearcy](https://discuss.elastic.co/u/ppearcy)\
**Post date:** [July 22, 2010, 3:13pm UTC](https://discuss.elastic.co/t/error-running-gradlew-test-on-latest-master/3138/1 "2010-07-22T15:13:01Z")

</div>

FYI, I followed the instructions here:

> **[elastic/elasticsearch](https://github.com/elastic/elasticsearch)**
>
> elasticsearch - Open Source, Distributed, RESTful Search Engine

Running "gradlew test" fails with this error (and some others  
similar):  
:plugins-transport-memcached:compileTestJava  
/home/paul.pearcy/elasticsearch/plugins/transport/memcached/src/test/  
java/org/elasticsearch/memcached/test/  
AbstractMemcachedActionsTests.java:25: package org.hamcrest does not  
exist  
import org.hamcrest.Matchers;

So, it appears that a dependency for testing is not being pulled  
down?

This isn't causing me any pain, but thought I should let people know.

Thanks,  
Paul

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [July 22, 2010, 6:19pm UTC](https://discuss.elastic.co/t/error-running-gradlew-test-on-latest-master/3138/2 "2010-07-22T18:19:03Z")

</div>

Right, added a test and forgot to add the dep for it. Fixed in master.

On Thu, Jul 22, 2010 at 6:13 PM, Paul [ppearcy@gmail.com](mailto:ppearcy@gmail.com) wrote:

> FYI, I followed the instructions here:
> 
> [http://wiki.github.com/elasticsearch/elasticsearch/getting-started-with-the-source-code](http://wiki.github.com/elasticsearch/elasticsearch/getting-started-with-the-source-code)
> 
> Running "gradlew test" fails with this error (and some others  
> similar):  
> :plugins-transport-memcached:compileTestJava  
> /home/paul.pearcy/elasticsearch/plugins/transport/memcached/src/test/  
> java/org/elasticsearch/memcached/test/  
> AbstractMemcachedActionsTests.java:25: package org.hamcrest does not  
> exist  
> import org.hamcrest.Matchers;
> 
> So, it appears that a dependency for testing is not being pulled  
> down?
> 
> This isn't causing me any pain, but thought I should let people know.
> 
> Thanks,  
> Paul

---

<div class="post-metadata">

**Author:** ![ppearcy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppearcy/32/980_2.png) [@ppearcy](https://discuss.elastic.co/u/ppearcy)\
**Post date:** [July 25, 2010, 9:18am UTC](https://discuss.elastic.co/t/error-running-gradlew-test-on-latest-master/3138/3 "2010-07-25T09:18:23Z")

</div>

Thanks!

On Jul 22, 12:19 pm, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:

> Right, added a test and forgot to add the dep for it. Fixed in master.
> 
> On Thu, Jul 22, 2010 at 6:13 PM, Paul [ppea...@gmail.com](mailto:ppea...@gmail.com) wrote:
> 
> > FYI, I followed the instructions here:
> 
> > [http://wiki.github.com/elasticsearch/elasticsearch/getting-started-wi](http://wiki.github.com/elasticsearch/elasticsearch/getting-started-wi)...
> 
> > Running "gradlew test" fails with this error (and some others  
> > similar):  
> > :plugins-transport-memcached:compileTestJava  
> > /home/paul.pearcy/elasticsearch/plugins/transport/memcached/src/test/  
> > java/org/elasticsearch/memcached/test/  
> > AbstractMemcachedActionsTests.java:25: package org.hamcrest does not  
> > exist  
> > import org.hamcrest.Matchers;
> 
> > So, it appears that a dependency for testing is not being pulled  
> > down?
> 
> > This isn't causing me any pain, but thought I should let people know.
> 
> > Thanks,  
> > Paul

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:21am UTC](https://discuss.elastic.co/t/error-running-gradlew-test-on-latest-master/3138/4 "2017-07-06T04:21:41Z")

</div>


