Why not ask your question on the new OpenStreetMap Community Forum?

Hello, I follow the guide on github to install my openstreetmap website. But when I run bundle exec rake test:db, a failure occurred:

AmfControllerTest#test_getway_old [/home/yeager/sfw/openstreetmap-website/test/controllers/amf_controller_test.rb:350]:
Expected: 0
Actual: -1

Is there anyone met the same question? How to solve it? Thanks for your help.

asked 26 Nov '17, 00:43

gleide's gravatar image

accept rate: 50%

edited 06 Dec '17, 20:41

aseerel4c26's gravatar image

aseerel4c26 ♦


We'll need some more information to help. Is this the only test that fails? Have you installed the three database functions (maptile_for_point etc) mentioned in the INSTALL.md file?

(29 Nov '17, 11:52) Andy Allan

This turns out to have been a bug in the way that timezones are handled in the test suite, and has now been fixed. For more information see https://github.com/openstreetmap/openstreetmap-website/issues/1688

permanent link

answered 06 Dec '17, 19:17

Andy%20Allan's gravatar image

Andy Allan
accept rate: 28%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 26 Nov '17, 00:43

question was seen: 2,013 times

last updated: 06 Dec '17, 20:41

powered by OSQA