We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6df5a04 commit b53a94fCopy full SHA for b53a94f
test/integration/connect/envoy/helpers.bash
@@ -157,7 +157,7 @@ function assert_envoy_http_rbac_policy_count {
157
local EXPECT_COUNT=$2
158
159
GOT_COUNT=$(get_envoy_http_rbac_once $HOSTPORT | jq '.rules.policies | length')
160
- [ "$GOT_COUNT" -eq $EXPECT_COUNT ]
+ [ "${GOT_COUNT:-0}" -eq $EXPECT_COUNT ]
161
}
162
163
function get_envoy_http_rbac_once {
@@ -181,7 +181,7 @@ function assert_envoy_network_rbac_policy_count {
181
182
183
GOT_COUNT=$(get_envoy_network_rbac_once $HOSTPORT | jq '.rules.policies | length')
184
185
186
187
function get_envoy_network_rbac_once {
0 commit comments