terraform/internal/command/views
Alisdair McDiarmid c51112a30c Fix flapping JSON output test
This test would previously fail randomly due to the use of multiple
resource instances. Instance keys are iterated over as a map for
presentation, which has intentionally inconsistent ordering.

To fix this, I changed the test to use different resource addresses for
the three drift cases. I also extracted them to a separate test, and
tweaked the test helper functions to reduce the number of fatal exit
points, to make failed test debugging easier.
2021-07-15 12:03:01 -04:00
..
json json-output: Add resource drift to machine readable UI 2021-06-30 14:57:55 -04:00
add.go remove IsMarked and ContainsMarked calls 2021-06-25 14:17:06 -04:00
add_test.go remove IsMarked and ContainsMarked calls 2021-06-25 14:17:06 -04:00
apply.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
apply_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
hook_count.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_count_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_json.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_json_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_ui.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_ui_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
json_view.go json-output: Add resource drift to machine readable UI 2021-06-30 14:57:55 -04:00
json_view_test.go Fix flapping JSON output test 2021-07-15 12:03:01 -04:00
operation.go json-output: Add resource drift to machine readable UI 2021-06-30 14:57:55 -04:00
operation_test.go Fix flapping JSON output test 2021-07-15 12:03:01 -04:00
output.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
output_test.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
plan.go typo 2021-05-25 08:32:44 -04:00
plan_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
refresh.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
refresh_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
show.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
state_locker.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
test_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
validate.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
validate_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
view.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00