shaker/scenarios/misc/static_agent.yaml
Ilya Shakhat 1a65fba420 Introduce record id and reference from sla-record
Rename field 'agent_id' into 'agent' to stay similar to other
references

Change-Id: Iad9c6d189200fefcbff119fba0f778d18079114c
2015-04-20 19:21:30 +03:00

28 lines
468 B
YAML

title: Static Agents
description:
This scenario runs tests on pre-deployed static agents
deployment:
agents:
-
id: the-agent
mode: alone
execution:
tests:
-
title: List all files
class: shell
program: ls -al
sla:
- "[type == 'agent'] >> (stderr == '')"
-
title: Run sample script
class: shell
script: |
#!/bin/bash
echo "hello world"
sla:
- "[type == 'agent'] >> (stdout & '.*hello world.*')"