Documentation ¶
Overview ¶
Package ready provides functions to be passed as a "ready" function to the bundle main function.
Index ¶
Constants ¶
const ClearPoliciesLogLocation = "/tmp/ready-clearPolicies.err"
ClearPoliciesLogLocation is the location of the error log for clearPolicies. If the removing policies did not encounter any errors the file should not exist.
const EnterpriseOwnedLogLocation = "/tmp/ready-enterpriseOwned.err"
EnterpriseOwnedLogLocation is the location of the error log for checkEnterpriseOwned. If the the DUT is not enterprise owned the file should not exist.
Variables ¶
This section is empty.
Functions ¶
func Wait ¶
Wait waits until the system is (marginally) ready for tests to run. Tast can sometimes be run against a freshly-booted VM, and we don't want every test that depends on a critical daemon to need to call upstart.WaitForJobStatus to wait for the corresponding job to be running. See https://crbug.com/897521 for more details.
Types ¶
This section is empty.