mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Fix scheduler race conditions and add comprehensive test suite (#9348)
This commit is contained in:
		
							
								
								
									
										23
									
								
								tests/integration/fixtures/scheduler_bulk_cleanup.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								tests/integration/fixtures/scheduler_bulk_cleanup.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| esphome: | ||||
|   name: scheduler-bulk-cleanup | ||||
|  | ||||
| external_components: | ||||
|   - source: | ||||
|       type: local | ||||
|       path: EXTERNAL_COMPONENT_PATH | ||||
|  | ||||
| host: | ||||
|  | ||||
| logger: | ||||
|   level: DEBUG | ||||
|  | ||||
| api: | ||||
|   services: | ||||
|     - service: trigger_bulk_cleanup | ||||
|       then: | ||||
|         - lambda: |- | ||||
|             auto component = id(bulk_cleanup_component); | ||||
|             component->trigger_bulk_cleanup(); | ||||
|  | ||||
| scheduler_bulk_cleanup_component: | ||||
|   id: bulk_cleanup_component | ||||
		Reference in New Issue
	
	Block a user