mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 02:18:47 +00:00
fix: initialize num_ipv4_tuples variable (#10712)
I believe this test may be flaky because a declared variable in Bash is perhaps not necessarily initialised. Resolves: #10711
This commit is contained in:
@@ -50,7 +50,7 @@ readarray -t flows < <(get_flow_logs "tcp")
|
||||
assert_gteq "${#flows[@]}" 2
|
||||
|
||||
declare -A unique_src_tuples
|
||||
declare -i num_ipv4_tuples
|
||||
declare -i num_ipv4_tuples=0
|
||||
|
||||
for flow in "${flows[@]}"; do
|
||||
# All flows should have same inner_dst_ip
|
||||
|
||||
Reference in New Issue
Block a user