Search in sources :

Example 1 with CuratorLock

use of com.yahoo.vespa.curator.recipes.CuratorLock in project vespa by vespa-engine.

the class CuratorLockTest method setupLock.

@Before
public void setupLock() {
    curator = new MockCurator();
    curatorLock = new CuratorLock(curator, "/foo");
}
Also used : MockCurator(com.yahoo.vespa.curator.mock.MockCurator) CuratorLock(com.yahoo.vespa.curator.recipes.CuratorLock) Before(org.junit.Before)

Aggregations

MockCurator (com.yahoo.vespa.curator.mock.MockCurator)1 CuratorLock (com.yahoo.vespa.curator.recipes.CuratorLock)1 Before (org.junit.Before)1