Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test on CI 'test_fixture_db_catalog' #117

Open
dmgav opened this issue Dec 21, 2020 · 3 comments
Open

Failing test on CI 'test_fixture_db_catalog' #117

dmgav opened this issue Dec 21, 2020 · 3 comments

Comments

@dmgav
Copy link
Contributor

dmgav commented Dec 21, 2020

The test is passing locally, but fails on GitHub actions CI with the error KeyError: 'qserver_tests'. It would be useful to have explanation why both attempts to instantiate the databroker or access the catalog fail, while the test test_fixture_re_manager_cmd_2, in which the Data Broker is instantiated in a different process, reliably succeeds:

    # Try to access the catalog in 'standard' way
    from databroker import catalog

    assert list(catalog[db_catalog["catalog_name"]]) == list(db_catalog["catalog"])

    # Try to instantiated the Data Broker
    from databroker import Broker

    Broker.named(db_catalog["catalog_name"])
@tacaswell
Copy link
Collaborator

attn @danielballan and @gwbischof . Is this related to the search / reload logic you fixed last week?

@tacaswell
Copy link
Collaborator

xref

def test_fixture_db_catalog(db_catalog): # noqa F811

@danielballan
Copy link
Member

Very likely yes. Does it work in latest databroker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants