Skip to content

Commit

Permalink
fix probability of failure
Browse files Browse the repository at this point in the history
  • Loading branch information
zirain committed Mar 11, 2022
1 parent a01dc3b commit ee4accf
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ source "tests/util/samples.sh"

# @setup profile=demo

# Start the otel sample
startup_otel_sample

# Apply Telemetry config
snip_enable_envoys_access_logging_3

Expand All @@ -35,12 +38,12 @@ export SOURCE_POD=$(kubectl get pod -l app=sleep -o jsonpath='{.items[0].metadat
# Start the httpbin sample
startup_httpbin_sample

# Start the otel sample
startup_otel_sample

# Make curl request to httpbin
_verify_elided snip_test_the_access_log_1 "$snip_test_the_access_log_1_out"

# sleep a while for logging
sleep 3

# Check the logs
_verify_contains snip_test_the_access_log_2 "outbound|8000||httpbin.default.svc.cluster.local"

Expand Down

0 comments on commit ee4accf

Please sign in to comment.