Skip to content

Commit 1bf6466

Browse files
committed
chore(ci): Add transforms-metric_to_log transform dependency to sink-humio
Given that the humio metrics sink depends on the log_to_metric transform. Also fix Makefile to run humio integration tests. I couldn't find a good way to use a wildcard for the module (like "::humio::*::integration_tests") so I just did the logs submodule for now. It seems like there are plans to add regex support for test filters: rust-lang/rust#53278 Signed-off-by: Jesse Szwedko <[email protected]>
1 parent f262791 commit 1bf6466

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ sinks-file = []
430430
sinks-gcp = ["base64", "bytesize", "goauth", "smpl_jwt"]
431431
sinks-honeycomb = ["bytesize"]
432432
sinks-http = ["bytesize"]
433-
sinks-humio = ["sinks-splunk_hec"]
433+
sinks-humio = ["transforms-metric_to_log", "sinks-splunk_hec"]
434434
sinks-influxdb = ["bytesize"]
435435
sinks-kafka = []
436436
sinks-logdna = ["bytesize"]

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ ifeq ($(AUTOSPAWN), true)
488488
$(MAKE) start-integration-humio
489489
sleep 10 # Many services are very slow... Give them a sec..
490490
endif
491-
${MAYBE_ENVIRONMENT_EXEC} cargo test --no-fail-fast --no-default-features --features humio-integration-tests --lib ::humio_logs::integration_tests:: -- --nocapture
491+
${MAYBE_ENVIRONMENT_EXEC} cargo test --no-fail-fast --no-default-features --features humio-integration-tests --lib "::humio::.*::integration_tests::" -- --nocapture
492492
ifeq ($(AUTODESPAWN), true)
493493
$(MAKE) -k stop-integration-humio
494494
endif

0 commit comments

Comments
 (0)