Skip to content

Commit

Permalink
additional test rdm settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Krist committed Feb 3, 2025
1 parent e063d45 commit 65d52bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion oarepo_model_builder_tests/templates/conftest.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ APP_CONFIG = {
"RDM_RECORDS_ALLOW_RESTRICTION_AFTER_GRACE_PERIOD": False,
"RDM_ALLOW_METADATA_ONLY_RECORDS": True,
"RDM_DEFAULT_FILES_ENABLED": False,

"SQLALCHEMY_ENGINE_OPTIONS": { # hack to avoid pool_timeout set in invenio_app_rdm
"pool_pre_ping": False,
"pool_recycle": 3600
},
"REST_CSRF_ENABLED": False
}

@pytest.fixture
Expand Down

0 comments on commit 65d52bb

Please sign in to comment.