Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. image: node:latest
  2.  
  3. services:
  4. - postgres:latest
  5.  
  6. variables:
  7. POSTGRES_DB: rx_reactive_test
  8. POSTGRES_USER: rx_reactive_tester
  9. POSTGRES_PASSWORD: "1esdf3143"
  10.  
  11. cache:
  12. paths:
  13. - node_modules/
  14.  
  15. postgresql:
  16. script:
  17. - yarn install
  18. - npm test
  19.  
  20. pg-reactive
  21. ✓ should build connection with the test database.
  22. 1) should run a query returning one row.
  23.  
  24.  
  25. 1 passing (23ms)
  26. 1 failing
  27.  
  28. 1) pg-reactive should run a query returning one row.:
  29. Uncaught Error: connect ECONNREFUSED 127.0.0.1:5432
  30. at Object.exports._errnoException (util.js:1033:11)
  31. at exports._exceptionWithHostPort (util.js:1056:20)
  32. at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1099:14)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement