elastic / elastic/apm-server

test: remove verbose flag

Open
#19,815 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.3k
Forks
543
Avg merge
1d 18h
Merged PRs (30d)
109

Description

The -v (verbose) flag was previously required because we relied on global or custom logging, which didn’t display log output when a test failed.

Tests should use the standard library’s testing package logging, which automatically prints log messages whenever a test fails. This change simplifies the setup and makes test failures clearer, since the testing logger automatically prints log messages only for the failed test.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.