Package org.apache.aurora.scheduler.events.PubsubEvent

Examples of org.apache.aurora.scheduler.events.PubsubEvent.DriverDisconnected


    control.replay();

    offerQueue.addOffer(OFFER_A);
    offerQueue.addOffer(OFFER_B);
    offerQueue.driverDisconnected(new DriverDisconnected());
    assertFalse(offerQueue.launchFirst(offerAcceptor));
  }
View Full Code Here


  @Test
  public void testDisconnected() throws Exception {
    new RegisteredFixture() {
      @Override
      void expectations() throws Exception {
        eventSink.post(new DriverDisconnected());
      }

      @Override
      void test() {
        scheduler.disconnected(driver);
View Full Code Here

  @Override
  public void disconnected(SchedulerDriver schedulerDriver) {
    LOG.warning("Framework disconnected.");
    totalFrameworkDisconnects.incrementAndGet();
    eventSink.post(new DriverDisconnected());
  }
View Full Code Here

  @Override
  public void disconnected(SchedulerDriver schedulerDriver) {
    LOG.warning("Framework disconnected.");
    totalFrameworkDisconnects.incrementAndGet();
    eventSink.post(new DriverDisconnected());
  }
View Full Code Here

  @Test
  public void testDisconnected() throws Exception {
    new RegisteredFixture() {
      @Override
      void expectations() throws Exception {
        eventSink.post(new DriverDisconnected());
      }

      @Override
      void test() {
        scheduler.disconnected(driver);
View Full Code Here

  public void testFlushOffers() throws Exception {
    control.replay();

    offerQueue.addOffer(OFFER_A);
    offerQueue.addOffer(OFFER_B);
    offerQueue.driverDisconnected(new DriverDisconnected());
    assertFalse(offerQueue.launchFirst(offerAcceptor));
    clock.advance(RETURN_DELAY);
  }
View Full Code Here

TOP

Related Classes of org.apache.aurora.scheduler.events.PubsubEvent.DriverDisconnected

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.