When hapi-loader fails to insert a resource, it is supposed to increment a redis counter called failed_counters. Apparently this never happens, which prevents the batch from being ever deleted (and this is bad).
Reproduction
Run a batch with errors (eg: on a resource with an unknown resource_type such as bp on Observation)
check hapi-loader logs, it should say Could not parse resource: unknown resource_type blabla
Description
When hapi-loader fails to insert a resource, it is supposed to increment a redis counter called
failed_counters
. Apparently this never happens, which prevents the batch from being ever deleted (and this is bad).Reproduction
bp
on Observation)Could not parse resource: unknown resource_type blabla
Expectation
When running e2e tests locally, it works. When running on remote testy host, it doesn't. Please fix
Resolution
the hell I know