@Test
public void gatherIOShouldPropagateIOException() throws IOException {

  var cause = new IOException("foo");
  var futures = List.of(completedFuture("foo"), failedFuture(cause));
  exception.expect(is(cause));
  FutureUtil.gatherIO(futures, NO_TIMEOUT);
}