1
0
mirror of https://github.com/golang/go synced 2024-11-23 05:00:07 -07:00
go/doc/articles/wiki
Rick Arnold 1f1f69e389 build: fix race in doc/articles/wiki test
The original test would open a local port and then immediately close it
and use the port number in subsequent tests. Between the port being closed
and reused by the later process, it could be opened by some other program
on the machine.

Changed the test to run the server process directly and have it save the
assigned port to a text file to be used by client processes.

Fixes #5564.

LGTM=adg
R=golang-codereviews, gobot, adg
CC=golang-codereviews
https://golang.org/cl/72290043
2014-03-18 13:03:03 +11:00
..
edit.html doc: update wiki article to use html/template properly. 2012-04-26 17:50:44 +10:00
final-noclosure.go doc/articles/wiki: fix path handling and clean up test process 2013-10-08 11:14:35 +11:00
final-noerror.go doc/articles/wiki: fix path handling and clean up test process 2013-10-08 11:14:35 +11:00
final-parsetemplate.go doc/articles/wiki: fix path handling and clean up test process 2013-10-08 11:14:35 +11:00
final-template.go doc/articles/wiki: fix path handling and clean up test process 2013-10-08 11:14:35 +11:00
final.go build: fix race in doc/articles/wiki test 2014-03-18 13:03:03 +11:00
get.go doc/articles/wiki: fix racy test 2012-11-19 12:36:15 -08:00
http-sample.go
index.html doc/articles/wiki: fix path handling and clean up test process 2013-10-08 11:14:35 +11:00
Makefile build: fix race in doc/articles/wiki test 2014-03-18 13:03:03 +11:00
notemplate.go doc/articles/wiki: fix path handling and clean up test process 2013-10-08 11:14:35 +11:00
part1-noerror.go
part1.go
part2.go doc/articles/wiki: fix path handling and clean up test process 2013-10-08 11:14:35 +11:00
part3-errorhandling.go doc/articles/wiki: fix path handling and clean up test process 2013-10-08 11:14:35 +11:00
part3.go doc/articles/wiki: fix path handling and clean up test process 2013-10-08 11:14:35 +11:00
test_edit.good
test_Test.txt.good
test_view.good
test.bash build: fix race in doc/articles/wiki test 2014-03-18 13:03:03 +11:00
view.html doc: update wiki article to use html/template properly. 2012-04-26 17:50:44 +10:00