terraform/internal/getproviders
Alisdair McDiarmid fb58f9e6d2 cli: Fix flaky init cancel test
There is a race between the MockSource and ShutdownCh which sometimes
causes this test to fail. Add a HangingSource implementation of Source
which hangs until the context is cancelled, so that there is always time
for a user-initiated shutdown to trigger the cancellation code path
under test.
2021-10-19 09:10:49 -04:00
..
testdata
didyoumean.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
didyoumean_test.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
doc.go
errors.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
filesystem_mirror_source.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
filesystem_mirror_source_test.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
filesystem_search.go addrs: Rename DefaultRegistryHost to DefaultProviderRegistryHost 2021-06-03 08:50:34 -07:00
filesystem_search_test.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
hanging_source.go cli: Fix flaky init cancel test 2021-10-19 09:10:49 -04:00
hash.go command/init: Read, respect, and update provider dependency locks 2020-10-09 09:26:23 -07:00
hash_test.go getproviders: Add a real type Hash for package hashes 2020-09-24 14:01:54 -07:00
http_mirror_source.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
http_mirror_source_test.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
memoize_source.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
memoize_source_test.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
mock_source.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
multi_source.go addrs: Rename DefaultRegistryHost to DefaultProviderRegistryHost 2021-06-03 08:50:34 -07:00
multi_source_test.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
package_authentication.go getproviders: Prepare for having multiple valid hashes per package 2020-09-24 14:01:54 -07:00
package_authentication_test.go update getproviders tests for new key 2021-04-23 11:18:58 -04:00
public_keys.go update HC PublicKey 2021-04-23 11:18:58 -04:00
registry_client.go internal/registry: Add URL to error message for clarity (#29298) 2021-08-10 15:20:40 +01:00
registry_client_test.go Add support for protocol 6 providers during init. (#29153) 2021-07-15 09:39:40 -07:00
registry_source.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
registry_source_test.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
source.go Move addrs/ to internal/addrs/ 2021-05-17 14:09:07 -07:00
types.go providers subcommand tests (#28744) 2021-05-19 12:56:16 -04:00
types_test.go providers subcommand tests (#28744) 2021-05-19 12:56:16 -04:00