Skip to content

Commit

Permalink
backend: fix several failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Oct 16, 2023
1 parent c381e34 commit 91558a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/copr-backend.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%endif

%global prunerepo_version 1.20
%global tests_version 4
%global tests_version 5
%global tests_tar test-data-copr-backend

%global copr_common_version 0.20.1.dev1
Expand Down
2 changes: 1 addition & 1 deletion backend/copr_backend/background_worker_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ def _compress_logs(self):
self.log.error("Compressed log %s exists", dest)
continue

if not os.path.exists(src):
if not os.path.exists(src) and src == self.job.review_log:
# fedora-review.log has a good chance of not existing
# We should be ready for other similar files
self.log.warning("Not trying to compress %s as it does not exist", src)
Expand Down

0 comments on commit 91558a1

Please sign in to comment.