-
Notifications
You must be signed in to change notification settings - Fork 25
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
test: fix run-test and setup #1001
Conversation
ee6e9dd
to
c310c5a
Compare
I got this error on bootstrap:
|
2872d6b
to
fd9f5cb
Compare
scripts/setup
Outdated
info_msg "Start OAI harvesting 100" | ||
eval ${PREFIX} invenio oaiharvester harvest -n ebooks -a max=100 -q | ||
info_msg "For ebooks harvesting run:" | ||
msg "\tinvenio oaiharvester harvest -n ebooks -a max=100 -q" | ||
# info_msg "Start OAI harvesting 100" | ||
# eval ${PREFIX} invenio oaiharvester harvest -n ebooks -a max=100 -q |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest:
- do not make ebook harvesting by default
- add a parameter that activate the ebook harvesting. In deployment or not.
fd9f5cb
to
e043902
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bootstrap, setup and run-test works.
* Fixes problem with ui/documents/test_documents_api.py not raising exceptions. closes rero#1000 * Changes setup back to not run the ebooks harvesting for normal setup. * Corrects unused imports in scripts/__init__.py Co-Authored-by: Peter Weber <peter.weber@rero.ch>
e043902
to
e8a364c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works with changes done @18:16 today
exceptions. closes Errors when running run_tests.sh #1000
Co-Authored-by: Peter Weber peter.weber@rero.ch
Why are you opening this PR?
How to test?
Code review check list