Package org.apache.aurora.scheduler.storage.testing

Examples of org.apache.aurora.scheduler.storage.testing.StorageTestUtil


  // Test for regression of AURORA-702.
  @Test
  @Ignore("Flaky test - see https://issues.apache.org/jira/browse/AURORA-798")
  public void testNoDeadlock() throws Exception {
    final StorageTestUtil storageUtil = new StorageTestUtil(this);

    expect(storageUtil.storeProvider.getLockStore()).andReturn(storageUtil.lockStore).times(2);
    expect(storageUtil.lockStore.fetchLock(LOCK_KEY)).andReturn(Optional.<ILock>absent()).times(2);

    final CountDownLatch reads = new CountDownLatch(2);
View Full Code Here

TOP

Related Classes of org.apache.aurora.scheduler.storage.testing.StorageTestUtil

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.