a75aef8ded
TestServeStaleMemberDoesNotBlockMerge reads the fetch counter right after the merges return, but the counted fetch runs inside the background refresh goroutine, so a slow schedule sees 1 instead of 2. - signal from the stub fetch when the background refresh starts - wait on that signal (5s timeout) before checking the fetch count - raise the refresh-reaches-merge deadline to 5s Reviewed-on: #172 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>