Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Consistently used stdlib context package #4229
Conversation
|
| @@ -63,8 +63,12 @@ func dnsi(hostname string) identifier.ACMEIdentifier { | |||
|
|
|||
| var ctx context.Context | |||
|
|
|||
| func init() { | |||
| ctx, _ = context.WithTimeout(context.Background(), 10*time.Minute) | |||
| func TestMain(m *testing.M) { | |||
cpu
May 24, 2019
Contributor
Using TestMain for this was a good idea 👍
Using TestMain for this was a good idea
|
Merging with one |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

No idea why this works now when @cpu's original attempt didn't, ¯\_(ツ)_/¯.
Fixes #2335.