Comments (4)
Sorry what makes there a race condition here? As far as I know there isn't any parallelism happening in the places you linked. Am I missing something?
from terraform.
Er, race in that it depends on a sequence that is not always ordered in the same way each time. (not exactly a race, but I don't know if there is a proper term for it). Basically, these tests assume that map key/value pairs will remain in the same order when iterated over, which is not the case in Go. It's an intentional language design choice to prevent using maps as ordered sets.
The tests therefore fail sometimes and not others because the small sample size lends to a higher probability that they will be in the same order, but they won't always be, hence why my first instinct was to call it a "race" though really I guess it is an "inconsistent iteration" error.
from terraform.
There's a simple fix for merge and append tests at #61, but WriteDot
is a little trickier.
from terraform.
I found a solution for TestWriteDot
and it is also in #61 now.
from terraform.
Related Issues (20)
- Terraform Apply crash on azure key_vault HOT 1
- can't build v1.8.0- kubernetes libraries not found HOT 2
- Terraform 1.8 crashes with "no expansion has been registered" HOT 1
- terraform test command does not honor TF_VAR_* environment variables when "module" is specified after 1.8.0 HOT 5
- panic: no expansion has been registered for module.xx.module.xx.module.xx HOT 1
- [ BUG ] Dynamic attribute block attempts to add an empty block when using map(string) HOT 1
- Terraform Test wrongly removing sensitive marks and warning now Terraform Core can handle sensitive inputs HOT 4
- skip_destroy lifecycle option to un-import a resource on destroy HOT 2
- datadog query is invalid while executing terraform scripts but manual creation of datadog monitors is working fine with the same query HOT 1
- Variables in overriden modules cause "value for module.redacted.local.redacted was requested before it was provided" crash HOT 1
- Support S3 endpoints for module sources HOT 1
- Terraform aws_dynamodb_table_item resource gets tainted in state file if range_key is missing HOT 2
- Allow better `lookup` default value for map of objects with optional attributes HOT 4
- Terraform Cloudtrail AccessDeniedException: Access Denied: You do not have permission to operate on this resource HOT 1
- Removed block does not appear in Configuration Language docs section HOT 1
- feature request: fail for unspecified object keys HOT 2
- Terraform plan crashed. HOT 4
- panic while applying a plan HOT 2
- Can `terraform init` fully initialize (for tests) if no `.tf` files exist the current working directory? HOT 2
- Error: Plugin did not respond HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform.