Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
  • Loading branch information
NikitaSkrynnik committed Jun 27, 2022
1 parent f6f703f commit e179dc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,9 @@ jobs:
uses: networkservicemesh/.github/.github/workflows/yamllint.yaml@main

build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# tests need to be run as root (with sudo), windows doesn't support it
os: ["windows-latest"]
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.18.1
- name: Build
run: go build -race ./...
- name: Test
run: go test -race -run ^TestHealClient_FindTest$ github.com/networkservicemesh/sdk/pkg/registry/common/heal -count 35000 -timeout 6h
uses: networkservicemesh/.github/.github/workflows/build-and-test.yaml@main
with:
os: '["ubuntu-latest", "macos-latest", "windows-latest"]'

golangci-lint:
uses: networkservicemesh/.github/.github/workflows/golangci-lint.yaml@main
Expand Down
4 changes: 2 additions & 2 deletions pkg/registry/common/heal/find_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ func TestHealClient_FindTest(t *testing.T) {
require.Eventually(t, func() bool {
_, err := nsRespStream.Recv()
return err != nil
}, time.Second*2, time.Millisecond*30)
}, 2*time.Second, time.Millisecond*30)

require.Eventually(t, func() bool {
_, err := nseRespStream.Recv()
return err != nil
}, time.Second*2, time.Millisecond*30)
}, 2*time.Second, time.Millisecond*30)
}

0 comments on commit e179dc5

Please sign in to comment.