Skip to content

Commit

Permalink
parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
branfosj authored Oct 12, 2023
1 parent 5370a66 commit dcf9bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2080,7 +2080,7 @@ def test_extensions_sanity_check(self):
eb.run_all_steps(True)

def test_parallel(self):
"""Test defining of parallellism."""
"""Test defining of parallelism."""
topdir = os.path.abspath(os.path.dirname(__file__))
toy_ec = os.path.join(topdir, 'easyconfigs', 'test_ecs', 't', 'toy', 'toy-0.0.eb')
toytxt = read_file(toy_ec)
Expand All @@ -2097,7 +2097,7 @@ def test_parallel(self):
os.close(handle)
write_file(toy_ec3, toytxt + "\nparallel = False")

# default: parallellism is derived from # available cores + ulimit
# default: parallelism is derived from # available cores + ulimit
test_eb = EasyBlock(EasyConfig(toy_ec))
test_eb.check_readiness_step()
self.assertTrue(isinstance(test_eb.cfg['parallel'], int) and test_eb.cfg['parallel'] > 0)
Expand Down

0 comments on commit dcf9bb3

Please sign in to comment.