From 662efbb518793a268fb7e82057ccd9b8c197b386 Mon Sep 17 00:00:00 2001 From: Hans Feldt Date: Wed, 3 Jun 2015 18:04:31 +0200 Subject: fix exit status at SLA assertion tested by changing SLA action to assert and lower rtt, yardstick command should exit non zero Change-Id: I2dd091941fb4359add849f218cacc04f364142cd JIRA: YARDSTICK-25 Signed-off-by: Hans Feldt --- samples/ping-parallel.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'samples') diff --git a/samples/ping-parallel.yaml b/samples/ping-parallel.yaml index 0e632aaaa..1924e76f4 100644 --- a/samples/ping-parallel.yaml +++ b/samples/ping-parallel.yaml @@ -17,14 +17,14 @@ scenarios: duration: 60 interval: 1 sla: - max_rtt: 15 - action: monitor + max_rtt: 10 + action: assert - type: Ping options: packetsize: 200 - client: client.demo - server: server.demo + host: client.demo + target: server.demo runner: type: Duration duration: 60 @@ -39,10 +39,16 @@ context: flavor: m1.tiny user: cirros + placement_groups: + pgrp1: + policy: "availability" + servers: client: floating_ip: true + placement: "pgrp1" server: + placement: "pgrp1" networks: test: -- cgit 1.2.3-korg