Skip to content

Commit a70eca4

Browse files
chore(dev): consolidate usage of VECTOR_LOG in tests and remove TEST_LOG (#23804)
* chore(dev): consolidate usage of VECTOR_LOG in tests and remove TEST_LOG * Use VECTOR_LOG in workflow files
1 parent 4eadd70 commit a70eca4

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

.github/workflows/ci-integration-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ env:
4343
DD_ENV: "ci"
4444
DD_API_KEY: ${{ secrets.DD_API_KEY }}
4545
RUST_BACKTRACE: full
46-
TEST_LOG: vector=debug
46+
VECTOR_LOG: vector=debug
4747
VERBOSE: true
4848
CI: true
4949
PROFILE: debug

.github/workflows/ci-review-trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ permissions:
3232
env:
3333
DD_ENV: "ci"
3434
RUST_BACKTRACE: full
35-
TEST_LOG: vector=debug
35+
VECTOR_LOG: vector=debug
3636
VERBOSE: true
3737
CI: true
3838
PROFILE: debug

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ env:
3232
DD_API_KEY: ${{ secrets.DD_API_KEY }}
3333
TEST_DATADOG_API_KEY: ${{ secrets.CI_TEST_DATADOG_API_KEY }}
3434
RUST_BACKTRACE: full
35-
TEST_LOG: vector=debug
35+
VECTOR_LOG: vector=debug
3636
VERBOSE: true
3737
CI: true
3838
PROFILE: debug

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
DD_ENV: "ci"
2222
DD_API_KEY: ${{ secrets.DD_API_KEY }}
2323
RUST_BACKTRACE: full
24-
TEST_LOG: vector=debug
24+
VECTOR_LOG: vector=debug
2525
VERBOSE: true
2626
CI: true
2727
PROFILE: debug

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ env:
2525
TEST_APPSIGNAL_PUSH_API_KEY: ${{ secrets.TEST_APPSIGNAL_PUSH_API_KEY }}
2626
AXIOM_TOKEN: ${{ secrets.AXIOM_TOKEN }}
2727
RUST_BACKTRACE: full
28-
TEST_LOG: vector=debug
28+
VECTOR_LOG: vector=debug
2929
VERBOSE: true
3030
CI: true
3131
PROFILE: debug

.github/workflows/k8s_e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ concurrency:
4242
env:
4343
CONTAINER_TOOL: "docker"
4444
RUST_BACKTRACE: full
45-
TEST_LOG: vector=debug
45+
VECTOR_LOG: vector=debug
4646
VERBOSE: true
4747
DISABLE_MOLD: true
4848
CI: true

.github/workflows/master_merge_queue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ env:
3232
DD_ENV: "ci"
3333
DD_API_KEY: ${{ secrets.DD_API_KEY }}
3434
RUST_BACKTRACE: full
35-
TEST_LOG: vector=debug
35+
VECTOR_LOG: vector=debug
3636
VERBOSE: true
3737
CI: true
3838
PROFILE: debug

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
DD_ENV: "ci"
1616
DD_API_KEY: ${{ secrets.DD_API_KEY }}
1717
RUST_BACKTRACE: full
18-
TEST_LOG: vector=debug
18+
VECTOR_LOG: vector=debug
1919
VERBOSE: true
2020
CI: true
2121
PROFILE: debug

lib/vector-core/src/metrics/tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn test_labels_injection() {
1818
);
1919
// See https://github.com/tokio-rs/tracing/issues/978
2020
if span.is_disabled() {
21-
panic!("test is not configured properly, set TEST_LOG=info env var")
21+
panic!("test is not configured properly, set VECTOR_LOG=info env var")
2222
}
2323
let _enter = span.enter();
2424

scripts/integration/datadog-traces/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ test_filter: '::datadog::traces::'
55

66
env:
77
AGENT_PORT: '8082'
8-
TEST_LOG: ${TEST_LOG}
8+
VECTOR_LOG: ${VECTOR_LOG}
99
TRACE_AGENT_TO_VECTOR_URL: http://datadog-trace-agent-to-vector:8126/v0.3/traces
1010
TRACE_AGENT_URL: http://datadog-trace-agent:8126/v0.3/traces
1111
VECTOR_PORT: '8081'

0 commit comments

Comments
 (0)