From 309668a8a8a1b7dc1f46c1b448c60e87850b8ca3 Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Thu, 9 Apr 2015 12:49:39 +0000 Subject: [PATCH] Fix a samples xfail test that now succeeds Commit e056f6f312d56556d5fb48e8d1281c712d870d87 fixed bug 1426466 but the associated xfailing test in samples.yaml was not updated so became a uxsuccess. This corrects the test to now expect success and validate the expected output. Change-Id: I8185c26189195dc0270fc7f3216a0102e9b51c14 --- ceilometer/tests/gabbi/gabbits/samples.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ceilometer/tests/gabbi/gabbits/samples.yaml b/ceilometer/tests/gabbi/gabbits/samples.yaml index dc7b7babf..969b738ac 100644 --- a/ceilometer/tests/gabbi/gabbits/samples.yaml +++ b/ceilometer/tests/gabbi/gabbits/samples.yaml @@ -78,11 +78,11 @@ tests: - project - unrecognized field in query - - name: list samples with metaquery field + - name: list samples with bad metaquery field url: /v2/samples?q.field=metaquery&q.value=cow&q.op=eq - desc: https://bugs.launchpad.net/ceilometer/+bug/1426466 - xfail: true status: 400 + response_strings: + - unrecognized field in query - name: bad limit value url: /v2/samples?limit=happiness