mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Fix race condition in scheduler string lifetime integration test (#9382)
This commit is contained in:
		| @@ -26,7 +26,6 @@ void SchedulerStringLifetimeComponent::run_string_lifetime_test() { | |||||||
|  |  | ||||||
|   // Schedule final check |   // Schedule final check | ||||||
|   this->set_timeout("final_check", 200, [this]() { |   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 passed: %d", this->tests_passed_); | ||||||
|     ESP_LOGI(TAG, "Tests failed: %d", this->tests_failed_); |     ESP_LOGI(TAG, "Tests failed: %d", this->tests_failed_); | ||||||
|  |  | ||||||
| @@ -35,6 +34,7 @@ void SchedulerStringLifetimeComponent::run_string_lifetime_test() { | |||||||
|     } else { |     } else { | ||||||
|       ESP_LOGE(TAG, "FAILURE: %d string lifetime tests failed!", this->tests_failed_); |       ESP_LOGE(TAG, "FAILURE: %d string lifetime tests failed!", this->tests_failed_); | ||||||
|     } |     } | ||||||
|  |     ESP_LOGI(TAG, "String lifetime tests complete"); | ||||||
|   }); |   }); | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user