Skip to content

Commit

Permalink
test(rust): add sleep to prevent incoming access control cache in test
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjoDeundiak committed Dec 8, 2024
1 parent acd70a2 commit 5d4b477
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ teardown() {

# Update the policy for the outlet and try again. It will fail because the local policy is not satisfied
run_success $OCKAM policy create --resource-type tcp-outlet --allow 'component.NOT_web'
sleep 2
run_failure curl -sfI -m 3 "127.0.0.1:$inlet_port"
}

0 comments on commit 5d4b477

Please sign in to comment.