File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
:description " Apache Mesos type conversions to and from Clojure"
3
3
:url " https://github.com/pyr/mesomatic"
4
4
:license {:name " MIT License" }
5
- :dependencies [[org.clojure/clojure " 1.7 .0" ]
5
+ :dependencies [[org.clojure/clojure " 1.8 .0" ]
6
6
[org.apache.mesos/mesos " 0.26.0" ]])
Original file line number Diff line number Diff line change 40
40
:port-mappings [{:container-port 80 , :protocol nil }],
41
41
:network :docker-network-bridge }},
42
42
:command {:shell false },
43
- :count 2 ,
44
- :maxcol 1 }]
43
+ :instances 2
44
+ :colocation 1 }]
45
45
46
46
(testing " cannot satisfy workload"
47
47
(is (= nil (allocate-naively (take 1 offers) [task-info])))
53
53
(group-by :offer-id )
54
54
keys
55
55
count)))
56
- (is (= 1 (->> (allocate-naively offers [(assoc task-info :maxcol 2 )])
56
+ (is (= 1 (->> (allocate-naively offers [(assoc task-info :colocation 2 )])
57
57
(group-by :offer-id )
58
58
keys
59
59
count))))))
You can’t perform that action at this time.
0 commit comments