]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixed filters for functional tests
authorSergey Belous <sbelous@mirantis.com>
Mon, 31 Aug 2015 14:44:19 +0000 (17:44 +0300)
committerSergey Belous <sbelous@mirantis.com>
Mon, 31 Aug 2015 14:46:42 +0000 (17:46 +0300)
Removed filter for unused tee utility.
CommandFilter for curl replaced with more stricted RegExpFilter
and now allow run curl only with specified parameters.

Change-Id: I5d151a63f85cb969f79d4d92f5422e8e88855be5
Closes-Bug: #1487139

neutron/tests/contrib/functional-testing.filters

index c0c7b18ea766cdbf48467c47529cd5fac9086586..1366d74cfda13aa9428f98a45c241734aea1d2dd 100644 (file)
@@ -9,9 +9,7 @@ ping_filter: CommandFilter, ping, root
 ping6_filter: CommandFilter, ping6, root
 
 # enable curl from namespace
-curl_filter: CommandFilter, curl, root
-tee_filter: CommandFilter, tee, root
-tee_kill: KillFilter, root, tee, -9
+curl_filter: RegExpFilter, /usr/bin/curl, root, curl, --max-time, \d+, -D-, http://[0-9a-z:./-]+
 nc_filter: CommandFilter, nc, root
 # netcat has different binaries depending on linux distribution
 nc_kill: KillFilter, root, nc, -9