apache/beam

Suppress tracebacks on failure-catching tests

Aperta

#18.935 aperta il 3 giu 2022

 (1 commento) (0 reazioni) (1 assegnatario)Java (4097 fork)batch import
P3bugcoregood first issuepython

Metriche repository

Star
 (7313 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Our tests of assert_that (e.g. in apache_beam.runners.portability.fn_api_runner_test) dump the expected "error" to stdout making our tests noisy (and they look like failures). It'd be good to suppress these in tests (while making sure things are still properly logged on workers. 

There are probably other tests of similar nature. 

Imported from Jira BEAM-4012. Original Jira may contain additional context. Reported by: robertwb.

Guida contributor