Skip to content
Browse files

travisci ECONNRESET test

  • Loading branch information...
1 parent 4d42192 commit 4e0ba2ae8076f931e541b9c0832e37ddb30ba5e2 @lancejpollard lancejpollard committed
Showing with 10 additions and 1 deletion.
  1. +7 −0 Makefile
  2. +3 −1 packages/tower-controller/shared/testHelper.coffee
View
7 Makefile
@@ -96,6 +96,13 @@ test-opera:
test-all:
for i in $(STORES); do ./node_modules/mocha/bin/mocha $(SRC) --store $$i; done
+# make push message='Committing changes'
+push:
+ cd wiki && git add . && git commit -a -m 'updates' && git push
+ git add .
+ git commit -a -m '$(message)'
+ git push origin master
+
clean:
rm -rf dist/*
rm -rf lib/*
View
4 packages/tower-controller/shared/testHelper.coffee
@@ -96,10 +96,12 @@ _.request = (method, path, options, callback) ->
params.format = format if format
- newRequest = newRequest.send(params)# unless _.isBlank(params)
+ newRequest = newRequest.send(params) unless _.isBlank(params)
newRequest = newRequest.auth(auth.username, auth.password) if auth
+ console.log path, params, format, headers
+
# content-type of json on a GET request throws error if `strict` in connect json parser
newRequest = newRequest.type(format) if format && method != 'get'

0 comments on commit 4e0ba2a

Please sign in to comment.
Something went wrong with that request. Please try again.