apache/beam

Suppress tracebacks on failure-catching tests

Offen

#18.935 geöffnet am 03.06.2022

 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)Java (4.097 Forks)batch import
P3bugcoregood first issuepython

Repository-Metriken

Stars
 (7.313 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide