• Dmitri Shuralyov's avatar
    context: sync ExampleWithTimeout with std lib context · 1f922427
    Dmitri Shuralyov authored
    CL 47095 applied a change to ExampleWithTimeout to resolve test
    flakiness. This change deviated ExampleWithTimeout further away
    from the ExampleWithTimeout in standard library's context package.
    
    There was a minor issue spotted in code review. Instead of attempting
    to resolve it here, it's better to use the version of ExampleWithTimeout
    from standard library that doesn't have the issue, and reduce
    maintenance.
    
    Change-Id: I3da9d7f7c35b33b52635df4c61058cb0b8ae95d9
    Reviewed-on: https://go-review.googlesource.com/47212
    Run-TryBot: Dmitri Shuralyov <shurcool@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    1f922427
Name
Last commit
Last update
..
ctxhttp Loading commit data...
context.go Loading commit data...
context_test.go Loading commit data...
go17.go Loading commit data...
pre_go17.go Loading commit data...
withtimeout_test.go Loading commit data...