mirror of https://github.com/status-im/consul.git
fix failing integration tests
The new IDs include a leading slash for the partition ID section
This commit is contained in:
parent
6b513c1ba4
commit
426565b68c
|
@ -39,7 +39,7 @@ load helpers
|
||||||
@test "s1 proxy should have been configured with one rbac listener filter at L4" {
|
@test "s1 proxy should have been configured with one rbac listener filter at L4" {
|
||||||
LISTEN_FILTERS=$(get_envoy_listener_filters localhost:19000)
|
LISTEN_FILTERS=$(get_envoy_listener_filters localhost:19000)
|
||||||
PUB=$(echo "$LISTEN_FILTERS" | grep -E "^public_listener:" | cut -f 2 -d ' ' )
|
PUB=$(echo "$LISTEN_FILTERS" | grep -E "^public_listener:" | cut -f 2 -d ' ' )
|
||||||
UPS=$(echo "$LISTEN_FILTERS" | grep -E "^(default\/)?s2:" | cut -f 2 -d ' ' )
|
UPS=$(echo "$LISTEN_FILTERS" | grep -E "^(\/default\/)?s2:" | cut -f 2 -d ' ' )
|
||||||
|
|
||||||
echo "LISTEN_FILTERS = $LISTEN_FILTERS"
|
echo "LISTEN_FILTERS = $LISTEN_FILTERS"
|
||||||
echo "PUB = $PUB"
|
echo "PUB = $PUB"
|
||||||
|
|
|
@ -36,7 +36,7 @@ load helpers
|
||||||
@test "s1 proxy should have been configured with http connection managers" {
|
@test "s1 proxy should have been configured with http connection managers" {
|
||||||
LISTEN_FILTERS=$(get_envoy_listener_filters localhost:19000)
|
LISTEN_FILTERS=$(get_envoy_listener_filters localhost:19000)
|
||||||
PUB=$(echo "$LISTEN_FILTERS" | grep -E "^public_listener:" | cut -f 2 -d ' ' )
|
PUB=$(echo "$LISTEN_FILTERS" | grep -E "^public_listener:" | cut -f 2 -d ' ' )
|
||||||
UPS=$(echo "$LISTEN_FILTERS" | grep -E "^(default\/)?s2:" | cut -f 2 -d ' ' )
|
UPS=$(echo "$LISTEN_FILTERS" | grep -E "^(\/default\/)?s2:" | cut -f 2 -d ' ' )
|
||||||
|
|
||||||
echo "LISTEN_FILTERS = $LISTEN_FILTERS"
|
echo "LISTEN_FILTERS = $LISTEN_FILTERS"
|
||||||
echo "PUB = $PUB"
|
echo "PUB = $PUB"
|
||||||
|
@ -59,7 +59,7 @@ load helpers
|
||||||
@test "s1 proxy should have been configured with http rbac filters" {
|
@test "s1 proxy should have been configured with http rbac filters" {
|
||||||
HTTP_FILTERS=$(get_envoy_http_filters localhost:19000)
|
HTTP_FILTERS=$(get_envoy_http_filters localhost:19000)
|
||||||
PUB=$(echo "$HTTP_FILTERS" | grep -E "^public_listener:" | cut -f 2 -d ' ' )
|
PUB=$(echo "$HTTP_FILTERS" | grep -E "^public_listener:" | cut -f 2 -d ' ' )
|
||||||
UPS=$(echo "$HTTP_FILTERS" | grep -E "^(default\/)?s2:" | cut -f 2 -d ' ' )
|
UPS=$(echo "$HTTP_FILTERS" | grep -E "^(\/default\/)?s2:" | cut -f 2 -d ' ' )
|
||||||
|
|
||||||
echo "HTTP_FILTERS = $HTTP_FILTERS"
|
echo "HTTP_FILTERS = $HTTP_FILTERS"
|
||||||
echo "PUB = $PUB"
|
echo "PUB = $PUB"
|
||||||
|
|
Loading…
Reference in New Issue