From 93a273b02a0b5efce4e7875dce121ea0592cede1 Mon Sep 17 00:00:00 2001 From: cseed Date: Tue, 7 Jan 2020 20:54:21 +0000 Subject: [PATCH] fix batch tests in deployment (#7818) --- batch/test/test_batch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/batch/test/test_batch.py b/batch/test/test_batch.py index 5d56675ff16..09a0c925de6 100644 --- a/batch/test/test_batch.py +++ b/batch/test/test_batch.py @@ -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)