@Override
  public void close() {
  }
@Test
  public void shouldFail_LocaleNodeException() throws ExecutionException, InterruptedException {
    // Given:
    final AtomicReference<Set<KsqlNode>> nodes = new AtomicReference<>(
        ImmutableSet.of(ksqlNodeLocal, ksqlNodeRemote));
    final PushRouting routing = new PushRouting(sqr -> nodes.get(), 50, true);

    // When:
    final PushConnectionsHandle handle = handlePushRouting(routing);
    context.runOnContext(v -> {
      remotePublisher.accept(REMOTE_ROW1);
      remotePublisher.accept(REMOTE_ROW2);
      localPublisher.error(new RuntimeException("Random local error"));
    });

    final Throwable throwable = waitOnException(handle);
    handle.close();

    // Then:
    assertThat(throwable.getMessage(), containsString("Random local error"));
  }