Skip to content

Commit

Permalink
Updated PBS Memory Test
Browse files Browse the repository at this point in the history
Changed the conversion in the test to accurately reflect the changes in the adapter.py
  • Loading branch information
calvinp0 committed Apr 3, 2023
1 parent e236d42 commit 35e7ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arc/job/adapter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def test_set_cpu_and_mem(self):
self.job_4.server = 'server3'
self.job_4.cpu_cores = None
self.job_4.set_cpu_and_mem()
expected_memory = math.ceil(14 * 1024 * 1.1) * 1E6
expected_memory = math.ceil(14 * 1024 * 1.1) * 1E8
self.assertEqual(self.job_4.submit_script_memory, expected_memory)
self.job_4.server = 'local'

Expand Down

0 comments on commit 35e7ec6

Please sign in to comment.