From 5334fe6684951d69b8515df2034e7ed84c0be228 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 28 Mar 2014 10:10:47 -0700 Subject: [PATCH] Replace more searches with filters. Where the list of possible values is small replace searches in queries with filters. This should improve performance of the queries. Change-Id: I3629e140dac88efbbbaed294d4869d70c6b6e008 --- queries/1271962.yaml | 2 +- queries/1272509.yaml | 2 +- queries/1280464.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/queries/1271962.yaml b/queries/1271962.yaml index 3dc64678..3542a0e1 100644 --- a/queries/1271962.yaml +++ b/queries/1271962.yaml @@ -1,5 +1,5 @@ query: > project:"openstack/swift" - AND build_name:*-swift-python* + AND (build_name:"gate-swift-python26" OR build_name:"gate-swift-python27") AND message:"FAIL: test_node_write_timeout" AND tags:"console.html" diff --git a/queries/1272509.yaml b/queries/1272509.yaml index 6119b065..35d2be5c 100644 --- a/queries/1272509.yaml +++ b/queries/1272509.yaml @@ -1,5 +1,5 @@ query: > project:"openstack/swift" - AND build_name:*-swift-python* + AND (build_name:"gate-swift-python26" OR build_name:"gate-swift-python27") AND message:"FAIL: test_node_read_timeout_retry" AND tags:"console.html" diff --git a/queries/1280464.yaml b/queries/1280464.yaml index 353fc863..0e0f3f78 100644 --- a/queries/1280464.yaml +++ b/queries/1280464.yaml @@ -1,4 +1,4 @@ query: > tags:"console" AND message:"mount: wrong fs type, bad option, bad superblock on /dev/loop1," - AND build_name:*-grenade-dsvm-neutron + AND (build_name:"check-grenade-dsvm-neutron" OR build_name:"gate-grenade-dsvm-neutron")