Skip to content

Commit

Permalink
add tcp client to acceptance test
Browse files Browse the repository at this point in the history
  • Loading branch information
waynz0r committed Jul 13, 2023
1 parent 4c72882 commit 6ceeb53
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/acceptance-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,8 @@ jobs:
make run-client
env:
CLIENT_REQUEST_URL: "http://echo.testing:80"

- name: Run simple go tcp client (istioctl)
working-directory: examples/tcp
run: |
make run-client
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Install CA certificates
run: |
sudo apt-get -y install ca-certificates
- name: Check out code
uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion pkg/proxywasm/data_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (s *urlDataSource) Get() ([]byte, error) {
return s.bytes, nil
}

resp, err := s.httpGetter.Get(s.url) //nolint:noctx
resp, err := s.httpGetter.Get(s.url)
if err != nil {
return nil, errors.WrapIfWithDetails(err, "could not parse url", "url", s.url)
}
Expand Down

0 comments on commit 6ceeb53

Please sign in to comment.