HomePhabricator

resourceloader: Make tests less susceptible to timestamp races

Authored by Krinkle.

Description

resourceloader: Make tests less susceptible to timestamp races

getDefinitionSummary isn't the authoritive method to detect changes.
Using it as such may false cause something to appear detected or
undetected. Use getVersionHash() instead.

Thanks to Gilles for uncovering this bug.

Bug: T105476
Change-Id: Ibefc9fa8ffd9d45e29901d726801e8d4e008b66f

Details

Committed
KrinkleJul 10 2015, 1:59 PM
Parents
rMW6a779b59a26d: Merge "T105242: U is for urlencode"
Branches
Unknown
Tags
Unknown
References
refs/changes/03/223803/2
ChangeId
Ibefc9fa8ffd9d45e29901d726801e8d4e008b66f