R.B. Boyer d7c7858d87
Fix even more test flakes in intentions related envoy integration tests (#9013)
The key thing here is to use `curl --no-keepalive` so that envoy
pre-1.15 tests will reliably use the latest listener every time.

Extra:

- Switched away from editing line-item intentions the legacy way.

- Removed some teardown scripts, as we don't share anything between cases anyway

- Removed unnecessary use of `run` in some places.
2020-10-26 17:04:35 -05:00

10 lines
168 B
Bash

#!/bin/bash
set -eEuo pipefail
# Setup deny intention
setup_upsert_l4_intention s1 s2 deny
gen_envoy_bootstrap s1 19000 primary
gen_envoy_bootstrap s2 19001 primary