-
Notifications
You must be signed in to change notification settings - Fork 75
fix typos in terraform scripts for ami image #42
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Costs money
Yes, it'll cost a few cents if you're no longer on the AWS free tier. Unfortunately, that's unavoidable with infrastructure. You either run automated tests or manual tests, but either way, you end up deploying into AWS, and that costs some amount of money. We can't accept PRs with no testing, as that will cost everyone far more.
Not sure which dep tool you're using but if its this one doesn't like not having $GOPATH/src and will not pull deps. Any reason why you don't just use the newer, built-in vendoring now and ditch the 3rd party tool?
As explained in the docs we use dep
just as in you would expect.
The ml-dford:test dford$ ls
Gopkg.lock couchbase_multi_cluster_test.go docker_compose_test.go
Gopkg.toml couchbase_multi_datacenter_replication_test.go terratest_helpers.go
README.md couchbase_single_cluster_dns_tls_test.go
couchbase_helpers.go couchbase_single_cluster_test.go
ml-dford:test dford$ dep version
dep:
version : v0.5.1
build date : 2019-03-11
git hash : faa6189
go version : go1.12
go compiler : gc
platform : darwin/amd64
features : ImportDuringSolve=false
ml-dford:test dford$ dep ensure
/Users/dford/git/terraform-aws-couchbase/test is not within a known GOPATH/src |
That's a good suggestion, but probably something we should do in a separate PR. In the meantime, the simple workaround is to |
nvm -- I had to just create a |
Yea, exactly... |
I tried running a single cluster test. I succeeded in creating the cluster and seemed to be happy doing its testing, but then it tried to read It seems unlikely this is related to the changes in the PR, but do you have any suggestions?
|
Also, if the test fail -- at least b/c of a timeout, it appears to just terminate, which means you're left to go manually clean up (or figure out how to |
All the tests clean up after themselves, even if they fail. By "timeout" do you mean the Golang test timeout of 10 minutes? If so, that's an infuriating feature of Go where, by default, they unceremoniously kill off tests (via |
Do you know why the test failed to read SYSLOG?
It kept retrying until eventually 10m timed out -- is this expected? |
Syslog takes several minutes to be available. It should keep retrying if you let the test run longer than 10m! |
old PR |
I took a look at running tests, but...
a) Costs money
b) Not sure which
dep
tool you're using but if its this one doesn't like not having$GOPATH/src
and will not pull deps. Any reason why you don't just use the newer, built-in vendoring now and ditch the 3rd party tool?