Skip to content

Commit

Permalink
address reviewer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
backmari committed Sep 6, 2024
1 parent 13603bb commit 92d8dca
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.autoreducer
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM registry.access.redhat.com/ubi9/ubi
# install various dependencies
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
RUN dnf updateinfo
RUN dnf install -y procps-ng numpy # pgrep is used for health check, numpy for high memory test
RUN dnf install -y procps-ng python3-numpy # pgrep is used for health check, numpy for high memory test

# Inspection tools
RUN dnf install -y vim
Expand Down
1 change: 1 addition & 0 deletions tests/data/PG3/shared/autoreduce/reduce_PG3.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@

print("Running reduction for " + sys.argv[1] + " at " + datetime.isoformat(datetime.now()))

# intentionally take up a lot of memory (used to test job memory monitoring)
_ = np.random.rand(100000, 10000)
time.sleep(5)
2 changes: 1 addition & 1 deletion tests/test_autoreducer_high_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import time

from tests.utils import db_utils
import utils.db as db_utils


class TestAutoreducerQueues:
Expand Down
3 changes: 1 addition & 2 deletions tests/test_autoreducer_memory_limit.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"""

import time

from tests.utils import db_utils
import utils.db as db_utils


class TestAutoreducerMemoryLimit:
Expand Down
File renamed without changes.

0 comments on commit 92d8dca

Please sign in to comment.