Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Nov 20, 2019

  • Separate the retrieval of Slurm node descriptions and
    creation of SlurmNode instances when nodes
    in flexible task allocation.

  • Make the necessary unittests changes to test for invalid
    node descriptions.

Fixes #1031

* Separate the retrieval of Slurm node descriptions and
  creation of `SlurmNode` instances when getting all nodes
  in flexible task allocation.

* Make the necessary unittests changes to test for invalid
  node descriptions.
@teojgo teojgo added this to the ReFrame sprint 2019w46 milestone Nov 20, 2019
@teojgo teojgo requested a review from vkarak November 20, 2019 12:28
@teojgo teojgo self-assigned this Nov 20, 2019
@teojgo teojgo changed the title Ignore invalid Slurm nodes in flexible task allocation [bugfix] Ignore invalid Slurm nodes in flexible task allocation Nov 20, 2019
@codecov-io
Copy link

codecov-io commented Nov 20, 2019

Codecov Report

Merging #1054 into master will increase coverage by 0.05%.
The diff coverage is 82.35%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1054      +/-   ##
==========================================
+ Coverage   91.97%   92.02%   +0.05%     
==========================================
  Files          81       81              
  Lines       10975    10975              
==========================================
+ Hits        10094    10100       +6     
+ Misses        881      875       -6
Impacted Files Coverage Δ
unittests/test_schedulers.py 96.84% <100%> (-0.01%) ⬇️
reframe/core/schedulers/slurm.py 56.72% <70%> (+2.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 34c10a8...fd0e06f. Read the comment docs.

Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

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

lgtm

@vkarak vkarak merged commit 0b34398 into reframe-hpc:master Nov 21, 2019
@teojgo teojgo deleted the bugfix/inexistent_nodes branch January 24, 2020 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ignore inexistent nodes when discovering nodes in the flexible allocation scheme

3 participants