• Andy Wilkinson's avatar
    Make FileSystemWatcherTests more robust · 02e6b7c8
    Andy Wilkinson authored
    Previously, several tests in FileSystemWatcherTests assumed that all
    of the changes detected by the watcher would be grouped into a single
    change set. This assumption breaks down when a test runs slowly (due
    to CPU or IO contention, for example), and making changes to the file
    system takes long then the watcher's polling interval. When this
    happens, the changes will be split across two (or more).
    
    This commit attempts to make the tests more robust. The tests now
    tolerate multiple changes sets by combining them and asserting that
    across the n change sets, only the expected changes were detected.
    
    Closes gh-25901
    02e6b7c8
Name
Last commit
Last update
..
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-autoconfigure Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-properties-migrator Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...