Skip to content

Commit

Permalink
fix batch tests in deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
cseed committed Jan 7, 2020
1 parent 343ac97 commit 4fed18c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion batch/test/test_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ def test_job(self):

def test_msec_mcpu(self):
builder = self.client.create_batch()
resources = {'cpu': '100m'}
resources = {
'cpu': '100m',
'memory': '375M'
}
# two jobs so the batch msec_mcpu computation is non-trivial
builder.create_job('ubuntu:18.04', ['echo', 'foo'], resources=resources)
builder.create_job('ubuntu:18.04', ['echo', 'bar'], resources=resources)
Expand Down

0 comments on commit 4fed18c

Please sign in to comment.