OpenBeta / open-tacos

Rock climbing route catalog (openbeta.io)
https://openbeta.io
GNU Affero General Public License v3.0
132 stars 116 forks source link

Failing XSearch unit tests #1154

Closed clintonlunn closed 3 months ago

clintonlunn commented 3 months ago

There is a failing unit test that was caused by (#1152) (XSearch Change) by removing the searchPoi. The XSearch test is still expecting that geocoderLookupFn call to happen.

Screenshots

image

Expected Behavior

Tests pass after removing geocoderLookupFn expect

Current Behavior

Failing unit test because geocoderlookup is nonexistent anymore

clintonlunn commented 3 months ago

I created this issue thinking it was just the failing tests (everything else passes locally, unit tests and build)...but I can't seem to get the build to pass once I push it to remote. @vnugent do you have any ideas of what could cause a failed build even if both unit tests and build passes locally?

vnugent commented 3 months ago

I think the failure was due to the staging API server timing out. I've been trying to reduce our server expenses by switching to smaller VMs which caused some recent outages.

clintonlunn commented 3 months ago

@vnugent That makes sense! Thanks!