@Test
public void gatherIOShouldPropagateException() throws IOException {

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