This is an automated email from the ASF dual-hosted git repository.
chhsiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 509780c Added cpus/mem to the resource provider config in SLRP tests.
509780c is described below
commit 509780ca49237acd36e7e080f8523cafa9f298ae
Author: Chun-Hung Hsiao <[email protected]>
AuthorDate: Mon Aug 27 11:31:42 2018 -0700
Added cpus/mem to the resource provider config in SLRP tests.
Review: https://reviews.apache.org/r/68527
---
src/tests/storage_local_resource_provider_tests.cpp | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/src/tests/storage_local_resource_provider_tests.cpp
b/src/tests/storage_local_resource_provider_tests.cpp
index 6a7d5b8..997154a 100644
--- a/src/tests/storage_local_resource_provider_tests.cpp
+++ b/src/tests/storage_local_resource_provider_tests.cpp
@@ -215,7 +215,23 @@ public:
"--volumes=%s",
"--work_dir=%s"
]
- }
+ },
+ "resources": [
+ {
+ "name": "cpus",
+ "type": "SCALAR",
+ "scalar": {
+ "value": 0.1
+ }
+ },
+ {
+ "name": "mem",
+ "type": "SCALAR",
+ "scalar": {
+ "value": 1024
+ }
+ }
+ ]
}
]
}