Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
Takuka0311 committed Dec 30, 2024
1 parent 155138f commit ba4d2fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/unittest/pipeline/PipelineUnittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void PipelineUnittest::OnSuccessfulInit() const {
APSARA_TEST_EQUAL(QueueKeyManager::GetInstance()->GetKey("test_config-flusher_sls-test_project#test_logstore"),
pipeline->GetContext().GetLogstoreKey());
APSARA_TEST_EQUAL(0, pipeline->mInProcessCnt.load());
APSARA_TEST_EQUAL(2U, pipeline->mMetricsRecordRef->GetLabels()->size());
APSARA_TEST_EQUAL(3U, pipeline->mMetricsRecordRef->GetLabels()->size());
APSARA_TEST_TRUE(pipeline->mMetricsRecordRef.HasLabel(METRIC_LABEL_KEY_PIPELINE_NAME, configName));
APSARA_TEST_TRUE(pipeline->mMetricsRecordRef.HasLabel(METRIC_LABEL_KEY_PROJECT, "test_project"));

Expand Down

0 comments on commit ba4d2fa

Please sign in to comment.