Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions hack/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,17 @@ echo "test" | nc -u $(kubectl get services udp-timeout --output jsonpath='{.sta

## tcp-timeout

This command should be closed in 10 sec
This command should be closed with no output in approximately 10 sec

Bash:
```
time nc $(kubectl get services tcp-timeout --output jsonpath='{.status.loadBalancer.ingress[0].ip}') 80
time nc $(kubectl get services tcp-timeout --output jsonpath='{.status.loadBalancer.ingress[0].ip}') 80 < <( sleep 11; echo "test" )
```

Zsh:
```
{ sleep 11; echo "test" } | time nc $(kubectl get services tcp-timeout --output jsonpath='{.status.loadBalancer.ingress[0].ip}') 80
```

## cleanup

Expand Down