private void verifyJobRunsInAirplaneMode(Job job) throws Exception {
    enableAirplaneMode();

    dispatcher.mustSchedule(job);

    try {
      jobStartedFuture.get(EXECUTE_JOB_TIMEOUT_SECONDS, TimeUnit.SECONDS);
    } catch (TimeoutException e) {
      throw new AssertionError(
          "Timed out waiting for job with no network constraints to run in airplane mode", e);
    }
  }
How long we're willing to wait for a job to run after it becomes eligible.
jobdispatcher/src/androidTest/java/com/firebase/jobdispatcher/AirplaneModeAndroidTest.java