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

DEV-1313 (Local ingest doesn't look for material in "failure" directory) #148

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

mwarin
Copy link
Contributor

@mwarin mwarin commented Aug 5, 2024

bin/enqueue.pl is an important script for doing operational ingest work, but has not had any tests and is (according to the originating ticket) sometimes behaving oddly. I have been unable to replicate the error condition as described in the originating ticket, but:

  • tidied t/queue.t
  • added t/enqueue.t (for testing bin/enqueue.pl)

Having t/enqueue.t will make it easier to test the error condition if/when I ever get closer to it.

@mwarin mwarin marked this pull request as ready for review September 5, 2024 21:14
@mwarin mwarin requested a review from moseshll September 6, 2024 13:58
t/enqueue.t Show resolved Hide resolved
t/queue.t Outdated Show resolved Hide resolved
t/enqueue.t Show resolved Hide resolved
t/queue.t Outdated Show resolved Hide resolved
Copy link
Contributor

@moseshll moseshll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just fiddly comments and musings. Except for tab thing which as expected I am again being pedantic about. APPROVE in anticipation of a grand tab-squishing party.

EDIT: I forgot to mention that I haven't been able to reliably run the feed test suite over the past years, because I get many failures along the lines of...

#   Failed test 'bin/enqueue.pl can queue if there is bib data' by dying:
#     Can't locate object method "get" via package "HTFeed::Namespace::TEST"
#     at /usr/local/feed/lib/HTFeed/Namespace.pm line 33.

@mwarin mwarin merged commit 40080ad into main Sep 10, 2024
1 check passed
@mwarin mwarin deleted the DEV-1313 branch September 10, 2024 20:20
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

Successfully merging this pull request may close these issues.

2 participants