Activate | Deactivate Faketime within QA
While testing Mantiki, sometimes it’s required to fake the time for the Shop and Telesales applications. This can now be achieved via AWX.
Instructions
Activating faketime
Log into AWX, select templates and click the launch icon next to the Activate faketime template.
Set the
time_string
variable to match the desired time configuration. The format must be the following: YYYY-MM-DD HH:MM:SS. For example2020-04-02 09:30:00
. Then click nextIf you’re happy with the configuration, click launch to deploy.
Deactivating faketime
You can deactivate faketime by running the Deactivate faketime template. This will remove the faketime configuration and restart the target services.