tests.check_times

This MC is intended for use with the functional test case which verifies that the actual time a VMR is started is approximately the VMRs specified Start Time. It adds the check_time.sh VM resource to all VMs in the experiment. This VMR simply prints the current time to a file (which will be retrieved and checked by the test case). The check_time.sh VMR will run at time=30.

Attribute Provides:
  • check_times

Attribute Depends:
  • topology

Model Component Dependencies:

Plugin

class tests.check_times_plugin.CheckTimes(graph, log)[source]

Bases: AbstractPlugin

Intended for use with the check_times functional test. It adds the check_time.sh VM resource to all VMs in the experiment. It outputs the current time within the experiment.

The check_time.sh VMR will run at time=30.

__annotations__ = {}
run()[source]

Executes the plugin and adds the check_time.sh at time=30 to all VMs. This ignores OS and other potential conflicts.