private boolean feedVerifier(byte[] bytes) throws IOException, FlinkTestFailedException { OUT elem = SerializeUtil.deserialize(bytes, typeSerializer); numRecords++; try { verifier.receive(elem); } catch (Exception e) { throw new FlinkTestFailedException(e); } return trigger.onRecord(elem) || trigger.onRecordCount(numRecords); }
e.printStackTrace(); } catch (IOException e) { throw new FlinkTestFailedException(e); verifier.finish(); } catch (Throwable e) { throw new FlinkTestFailedException(e);