Commit Graph

212 Commits (e024960c745f0a464cb081d04765d93f94deaba0)

Author SHA1 Message Date
James Bardin bb62aba651 add (forces new resource) to provider test diffs
7 years ago
Justin Downing 1e32ae243c grammatical updates to comments and docs (#20195)
7 years ago
Martin Atkins 35df450dc0 helper/resource: Preserve provider address when shimming to old state
7 years ago
Martin Atkins 1987a92386 helper/schema: Implementation of the AsSingle mechanism
7 years ago
James Bardin c02f1d7256 allow 0 and unset to be equal in count tests
7 years ago
Martin Atkins 4c99864dad helper/resource: TestCheckResourceAttrPair allow nonexist
7 years ago
Martin Atkins 477da57a92 helper/plugin: Honor resource type overrides in import
7 years ago
Martin Atkins 86c02d5c35 command: "terraform init" can partially initialize for 0.12upgrade
7 years ago
Martin Atkins 0c0a437bcb Move module install functionality over to internal/initwd
7 years ago
James Bardin 041ed67e46 type names don't imply the resource mode
7 years ago
James Bardin a7b399cb4c use actual schema.Resources for state shims
7 years ago
James Bardin 7973872524 allow TestCheckNoResourceAttr for empty containers
7 years ago
James Bardin c63040c737 have TestCheckResourceAttr accept missing counts
7 years ago
Martin Atkins cdad78d69b helper/resource: Allow multiple providers in a single TestCase
7 years ago
Martin Atkins b190d3b4f2 helper/resource: Shim back to old state must preserve schema version
7 years ago
Martin Atkins f9fef56167 helper/resource: print full diagnostics for operation errors in tests
7 years ago
Martin Atkins 55469cd416 helper/resource: Get schemas from Terraform context
7 years ago
Martin Atkins a4991c5780 helper/resource: Create a separate provider instance each call
7 years ago
James Bardin 98870fadb1
Merge pull request #19544 from hashicorp/jbardin/import-tests
7 years ago
James Bardin 7d296f752c don't add numeric indexes to resources with a count of 0
7 years ago
James Bardin 484d67028a handle shim errors in provider tests
7 years ago
James Bardin 547d63bcde remove empty flatmap containers from test states
7 years ago
Martin Atkins 4fe9632f09 plugin: Establish our current plugin protocol as version 5
7 years ago
James Bardin 3716db3865
Merge pull request #19384 from hashicorp/jbardin/nested-sets
7 years ago
James Bardin ce5d7ff6d0 spelling
7 years ago
Dana Hoffman 7edbb3c8bf return state even if cfg is invalid
7 years ago
James Bardin a5ef403dfd skip resource tests for now
7 years ago
James Bardin e38a5a769d copy timouts into plan and apply state
7 years ago
Sander van Harmelen 48ef7ecfa6 Updates after running `make fmt` with Go v1.11.1
8 years ago
James Bardin 1ab96f42b7 fail nonfunctional resource tests
8 years ago
James Bardin 38163f2b37 use SimpleDiff and set "id" as RequiresReplace
8 years ago
James Bardin 0d4d572c39 start work on helper/resource test fixtures
8 years ago
Martin Atkins 1908aff476 helper/resource: Fix duplicated function testConfig
8 years ago
Martin Atkins 44bc7519a6 terraform: More wiring in of new provider types
8 years ago
Martin Atkins a3403f2766 terraform: Ugly huge change to weave in new State and Plan types
8 years ago
Martin Atkins c937c06a03 terraform: ugly huge change to weave in new HCL2-oriented types
8 years ago
Brian Flad 798162125b helper/resource: Add ParallelTest() function to allow opt-in acceptance testing concurrency with t.Parallel()
8 years ago
Chris Marchesi 3505769600
helper/resource: Add ability to pre-taint resources
8 years ago
Chase 02ff60d083
Fixing small typo in resource/wait.go
8 years ago
Paul Tyng 528cbecfce
Make failure message more explicit
8 years ago
Paul Tyng 707d7febe3
Use constants in test
8 years ago
Paul Tyng f18e4f2921
Export a const for validation methods
8 years ago
Stuart Auld 7d1f594f54 helper/resource: don't panic if a requested module does not exist
8 years ago
Stuart Auld df9446f490 helper/resource: allow tests to opt out of temporary file cleanup
8 years ago
James Bardin d91dc1a13e unused variable
8 years ago
Stuart Auld 1d1984771b helper/resource: test check helpers for resources in non-root modules
8 years ago
Chris Marchesi 3f8dad30c9
helper/resource: Fail tests with no error that have ExpectError set
8 years ago
Martin Atkins ba0514106a return tfdiags.Diagnostics from validation methods
8 years ago
Nándor István Krácser e5cc8af7f3 helper/resource: fix ungrammatical doc comment in StateChangeConf
8 years ago
Radek Simko d39025b9d8
helper: Escape test name in TF_LOG_PATH_MASK
8 years ago