From a278d9ad54ef28487f7589d35ab9755c36078726 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Fri, 19 Apr 2024 00:44:33 +0200 Subject: [PATCH] Apply suggestions from code review --- docs/config_reference.rst | 6 ++++-- unittests/resources/config/settings.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/config_reference.rst b/docs/config_reference.rst index 09986df57c..694bf956fd 100644 --- a/docs/config_reference.rst +++ b/docs/config_reference.rst @@ -689,7 +689,7 @@ ReFrame can launch containerized applications, but you need to configure properl Custom Job Scheduler Resources ============================== -ReFrame allows you to define custom scheduler resources for each partition/environment that can then be transparently accessed through the :attr:`~reframe.core.pipeline.RegressionTest.extra_resources` attribute of a regression test or the environment. +ReFrame allows you to define custom scheduler resources for each partition that can then be transparently accessed through the :attr:`~reframe.core.pipeline.RegressionTest.extra_resources` attribute of a test or from an environment. .. py:attribute:: systems.partitions.resources.name @@ -958,7 +958,9 @@ They are associated with `system partitions <#system-partition-configuration>`__ :required: No :default: ``{}`` - This is similar to a regression test's :attr:`~reframe.core.pipeline.RegressionTest.extra_resources`. + Scheduler resources associated with this environments. + + This is the equivalent of a test's :attr:`~reframe.core.pipeline.RegressionTest.extra_resources`. .. versionadded:: 4.6 diff --git a/unittests/resources/config/settings.py b/unittests/resources/config/settings.py index 1d6879ffbf..b888e0fbfc 100644 --- a/unittests/resources/config/settings.py +++ b/unittests/resources/config/settings.py @@ -67,7 +67,7 @@ def hostname(): 'options': [ '--mount={mount}', '--file={file}' - ], + ] } ], 'features': ['cuda', 'mpi'],