apache/beam

Suppress tracebacks on failure-catching tests

Open

#18.935 aberto em 3 de jun. de 2022

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Java (4.097 forks)batch import
P3bugcoregood first issuepython

Métricas do repositório

Stars
 (7.313 stars)
Métricas de merge de PR
 (Mesclagem média 6d) (243 fundiu PRs em 30d)

Description

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.

Guia do colaborador