Skip to content

Commit 7eef7e1

Browse files
committed
fix(confmap): Include parent package in e2e test coverage
The e2e test module was not recording coverage for the parent `confmap/internal` package that it tests. This caused test coverage to appear as 0% even though the tests exercise the code. This adds the parent package to COVER_PKGS so coverage of `confmap/internal` is properly tracked for e2e tests.
1 parent 97efc61 commit 7eef7e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

confmap/internal/e2e/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
include ../../../Makefile.Common
2+
3+
# Override COVER_PKGS to include the parent package that this e2e module tests
4+
COVER_PKGS := go.opentelemetry.io/collector/confmap/internal,$(COVER_PKGS)

0 commit comments

Comments
 (0)