Issue Running Functional Tests #2697
-
Hello all, In attempting to address #2658, I have been attempting to run the functional tests currently in Nominatim, specifically the last three tests of the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Looks like you have introduced an error into the PHP part. The failure output of the test is somewhat misleading here. The interesting part of the error message is this one:
It tells you that the data was successfully imported but sending a search query failed. The HTTP request returned with something other than 200. Unfortunately, it is not very helpful in telling you what exactly goes wrong. The capture log that follows is not interesting for the error because it refers to the data import. And that was at this point successfully finished. You probably stumbled over that part:
which is misleading, too, because it is not a critical error at all. It simply couldn't access the history information for the given node and therefore not find out about the date of the database. It's not really relevant for the tests and Nominatim happily works without the date. So, how to debug the error in the meantime? I usually run the queries manually to see what the output is:
I admit that it's all a bit annoying. Improving the BDD test behaviour on failures is on my list of things to do. |
Beta Was this translation helpful? Give feedback.
Looks like you have introduced an error into the PHP part. The failure output of the test is somewhat misleading here.
The interesting part of the error message is this one: