We have our River client use an alternative schema: "workers". And we go through great lengths to make our tests mirror the actual database setup so we can't really change this. But now that i've started working with the rivertest package this doesn't seem to be supported. I simply get:
River assertion failure:
Internal failure: error querying jobs: ERROR: relation "river_job" does not exist (SQLSTATE 42P01)
This seems like it is a known limitations because of the comment i've found here:
Is there any workaround?
We have our River client use an alternative schema: "workers". And we go through great lengths to make our tests mirror the actual database setup so we can't really change this. But now that i've started working with the rivertest package this doesn't seem to be supported. I simply get:
This seems like it is a known limitations because of the comment i've found here:
river/rivertest/rivertest.go
Line 23 in 487814e
Is there any workaround?