Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
harrryr committed Jul 30, 2024
1 parent a12e11d commit 41c4fe0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/traffic-generator-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ name: Create and Push Traffic Generator
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'sample-apps/traffic-generator/**'
# branches:
# - main
# paths:
# - 'sample-apps/traffic-generator/**'

permissions:
id-token: write
Expand Down
3 changes: 2 additions & 1 deletion sample-apps/traffic-generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const trafficGenerator = async (interval) => {
`http://${mainEndpoint}/outgoing-http-call`,
`http://${mainEndpoint}/aws-sdk-call?ip=${remoteEndpoint}&testingId=${id}`,
`http://${mainEndpoint}/remote-service?ip=${remoteEndpoint}&testingId=${id}`,
`http://${mainEndpoint}/client-call`
`http://${mainEndpoint}/client-call`,
`http://${mainEndpoint}/mysql`,
];

await sendRequests(urls);
Expand Down

0 comments on commit 41c4fe0

Please sign in to comment.