Fixup tests

This commit is contained in:
Christopher Baines 2024-01-18 15:25:41 +00:00
parent c1d2f3a1b7
commit b81e7ea950
2 changed files with 9 additions and 5 deletions

View file

@ -410,9 +410,11 @@ WHERE packages.id IN (
(with-time-logging "preparing location ids"
(map (match-lambda
((_ location rest ...)
(if location
(location->location-id
conn
location)))
location)
NULL)))
package-metadata))
license-set-ids
(with-time-logging "preparing package description set ids"

View file

@ -38,7 +38,8 @@
(mock
((guix-data-service jobs load-new-guix-revision)
channel->source-and-derivations-by-system
(lambda (conn store channel fetch-with-authentication?)
(lambda* (conn store channel fetch-with-authentication?
#:key parallelism)
(cons
"/gnu/store/guix"
'(("x86_64-linux"
@ -57,7 +58,8 @@
extract-information-from
(lambda* (conn store guix-revision-id commit
guix-source store-path
#:key skip-system-tests?)
#:key skip-system-tests?
parallelism)
#t))
(mock