Skip to content

Commit

Permalink
attempt to stabilize CI k8s-test after enabling more syscalls
Browse files Browse the repository at this point in the history
  • Loading branch information
andylibrian committed Mar 28, 2024
1 parent dc4f941 commit 801716f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/k8s/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ test $(kubectl run -ti --restart=Never verify-alerts --image=curlimages/curl --

# run command to register constraints
# multiple times to compensate occassional eBPF missing events
for i in {1..5}; do kubectl exec -ti nginx2 -c nginx -- pwd; sleep 1; done
for i in {1..50}; do kubectl exec -ti nginx2 -c nginx -- pwd; sleep 1; done
for i in {1..5}; do kubectl exec -ti nginx2 -c nginx -- ls /; sleep 1; done

# give time for tarian-cluser-agent to process data from node agents
# give time for tarian-cluser-agent to process data from node agents,
# due to many events generated from tarian-detector
sleep 5

tarianctl get constraints
Expand Down

0 comments on commit 801716f

Please sign in to comment.