0.4.0
New functionality
-
run_component
now passes thecpus
,memory_b
,memory_kb
,memory_mb
memory_gb
,memory_tb
,memory_pb
,
memory_tb
,memory_pb
keys, defined in themeta
dictionairy of the test module,
as memory and cpu contraints to the executed component. Thecpus
and all memory keys
can be set by usingviash (ns) test
with--cpus
or--memory
respectively.
The memory and cpu fields can also be set to a hardcoded value in the test script. In this case,
care should be taken to only specify one ofmemory_b
,memory_kb
,memory_mb
,memory_gb
,memory_tb
,memory_pb
.
If more than one value for memory resources are defined and a conflict exists between the values,
the value from the largest unit of measure is used. -
Added
memory_bytes
andcpus
fixtures.