From b3d7f001af24a28e2820b173a26114d4c958e600 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 8 Jul 2025 06:54:47 -0500 Subject: [PATCH] Fix race condition in scheduler string lifetime integration test (#9382) --- .../string_lifetime_component.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/fixtures/external_components/scheduler_string_lifetime_component/string_lifetime_component.cpp b/tests/integration/fixtures/external_components/scheduler_string_lifetime_component/string_lifetime_component.cpp index d377c1fe57..ea386881b2 100644 --- a/tests/integration/fixtures/external_components/scheduler_string_lifetime_component/string_lifetime_component.cpp +++ b/tests/integration/fixtures/external_components/scheduler_string_lifetime_component/string_lifetime_component.cpp @@ -26,7 +26,6 @@ void SchedulerStringLifetimeComponent::run_string_lifetime_test() { // Schedule final check this->set_timeout("final_check", 200, [this]() { - ESP_LOGI(TAG, "String lifetime tests complete"); ESP_LOGI(TAG, "Tests passed: %d", this->tests_passed_); ESP_LOGI(TAG, "Tests failed: %d", this->tests_failed_); @@ -35,6 +34,7 @@ void SchedulerStringLifetimeComponent::run_string_lifetime_test() { } else { ESP_LOGE(TAG, "FAILURE: %d string lifetime tests failed!", this->tests_failed_); } + ESP_LOGI(TAG, "String lifetime tests complete"); }); }