mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00
Merge pull request #338 from matrix-org/kegan/race-test-2
bugfix: actually use the provided mock value in tests
This commit is contained in:
commit
e8315ead87
@ -29,7 +29,7 @@ var (
|
||||
|
||||
func setTimeSinceValue(val time.Duration) {
|
||||
timeSinceMu.Lock()
|
||||
timeSinceValue = time.Minute * 2
|
||||
timeSinceValue = val
|
||||
timeSinceMu.Unlock()
|
||||
}
|
||||
func init() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user