Skip to content

Suppress tracebacks on failure-catching tests #18935

Description

@kennknowles

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions