opentofu/config
Emil Hessman 78d1fc742f config/module: adjust HttpGetter test to fix Windows test failure
Specify laddr on the form host:port in the call to net.Listen as
documented for net.Dial, see godoc.org/net#Dial

Fixes the following test failures on Windows:

> go test -run=TestHttpGetter
--- FAIL: TestHttpGetter_header (0.00s)
        get_http_test.go:31: err: Get http://[::]:52101/header?terraform-get=1: dial tcp [::]:52101: ConnectEx tcp: The requested address is not valid in its context.
--- FAIL: TestHttpGetter_meta (0.00s)
        get_http_test.go:55: err: Get http://[::]:52103/meta?terraform-get=1: dial tcp [::]:52103: ConnectEx tcp: The requested address is not valid in its context.
--- FAIL: TestHttpGetter_metaSubdir (0.00s)
        get_http_test.go:79: err: Get http://[::]:52105/meta-subdir?terraform-get=1: dial tcp [::]:52105: ConnectEx tcp: The requested address is not valid in its context.
FAIL
exit status 1
FAIL github.com/hashicorp/terraform/config/module    0.054s
2015-01-27 23:18:46 +01:00
..
lang config/lang: verify single quotes syntax error [GH-613] 2015-01-16 10:28:00 -08:00
module config/module: adjust HttpGetter test to fix Windows test failure 2015-01-27 23:18:46 +01:00
test-fixtures config: understand provisioner blocks in JSON [GH-807] 2015-01-16 10:14:48 -08:00
append_test.go config: Append works with modules 2014-09-11 19:50:41 -07:00
append.go config: Append works with modules 2014-09-11 19:50:41 -07:00
config_string.go config: add Config method 2014-10-02 11:34:08 -07:00
config_test.go config: multi-variable access in slice validation fixed [GH-798] 2015-01-15 09:40:13 -08:00
config_tree.go config: make Merge an exported func 2014-07-18 17:05:22 -07:00
config.go config: multi-variable access in slice validation fixed [GH-798] 2015-01-15 09:40:13 -08:00
import_tree.go config: HCL loader 2014-08-11 09:58:53 -07:00
interpolate_funcs_test.go config: use new API 2015-01-14 22:03:15 -08:00
interpolate_funcs.go config: use new API 2015-01-14 22:03:15 -08:00
interpolate_test.go config: remove a lot of unused stuff 2015-01-13 11:54:30 -08:00
interpolate_walk_test.go config: convert to config/lang 2015-01-13 10:27:57 -08:00
interpolate_walk.go config: convert to config/lang 2015-01-13 10:27:57 -08:00
interpolate.go config: use new API 2015-01-14 22:03:15 -08:00
lang.go config/lang; missed file 2015-01-15 09:40:36 -08:00
loader_hcl_test.go config: HCL loader 2014-08-11 09:58:53 -07:00
loader_hcl.go config: understand provisioner blocks in JSON [GH-807] 2015-01-16 10:14:48 -08:00
loader_test.go config: understand provisioner blocks in JSON [GH-807] 2015-01-16 10:14:48 -08:00
loader.go Do not read temporary editor files, fixes #548 2014-12-09 13:15:00 +00:00
merge_test.go config: Merge for modules works 2014-09-11 19:54:02 -07:00
merge.go config: Merge for modules works 2014-09-11 19:54:02 -07:00
raw_config_test.go config: use new API 2015-01-14 22:03:15 -08:00
raw_config.go config: use new API 2015-01-14 22:03:15 -08:00