Skip to content

rivertest.RequireX for alternative schema #907

@advdv

Description

@advdv

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:

const emptySchema = ""

Is there any workaround?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions