Skip to content

Commit

Permalink
e2e - macOS reduce to one test only (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha authored Aug 17, 2022
1 parent 84bfe83 commit 10ca725
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,19 +199,9 @@ jobs:
with:
key: macos-latest
cache-on-failure: true
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm install express
- uses: actions/setup-python@v3
- run: pip3 install flask
- uses: actions/setup-go@v3
with:
go-version: "1.18.0"
- run: |
cd tests/go-e2e
go build
cd ../..
- name: setup cluster requirements
run: brew install docker colima kubectl
- name: create cluster
Expand All @@ -224,7 +214,7 @@ jobs:
- name: load image
run: docker load --input /tmp/test.tar
- name: cargo test
run: cargo test -p tests
run: cargo test -p tests test_mirror_http_traffic
- name: Collect container logs
if: ${{ failure() }}
run: for CONTAINER in $(docker ps --format "{{.ID}}"); do docker logs $CONTAINER; done
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
- E2E - Increase agent communication timeout to reduce flakiness.
- mirrord-layer - add `DetourGuard` to prevent unwanted calls to detours from our code.
- mirrord-layer - extract reused detours to seperate logic functions
- E2E - macOS run only sanity http mirror traffic with Python


## 2.6.0

Expand Down
2 changes: 1 addition & 1 deletion tests/src/sanity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ mod tests {
#[future]
#[notrace]
kube_client: Client,
#[values(Application::PythonHTTP, Application::NodeHTTP, Application::GoHTTP)] application: Application,
#[values(Application::PythonHTTP)] application: Application,
#[values(Agent::Job)] agent: Agent,
) {
let service = service.await;
Expand Down

0 comments on commit 10ca725

Please sign in to comment.