Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR to check failing tests on CI #1694

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
905b4b3
one smol change to check what tests fail often on CI
NikitaSkrynnik Nov 19, 2024
1097585
rerun TestReselect_LocalForwarderRestart 5000 times
NikitaSkrynnik Nov 19, 2024
c9d3b63
run TestNSMGR_HealRegistry 5000 times
NikitaSkrynnik Nov 19, 2024
fc7d634
run Test_Interdomain_PassThroughUsecase 5000 times
NikitaSkrynnik Nov 20, 2024
902e4df
run TestNSMGR_CloseHeal 5000 times
NikitaSkrynnik Nov 20, 2024
d370d20
run TestListenAndServe_NotExistsFolder 5000 times
NikitaSkrynnik Nov 21, 2024
b186f82
run TestListenAndServe_NotExistsFolder 100000 times
NikitaSkrynnik Nov 21, 2024
3f8bb00
run TestListenAndServe_NotExistsFolder 1000000 times
NikitaSkrynnik Nov 21, 2024
baca16b
run TestListenAndServe_NotExistsFolder 10000000 times
NikitaSkrynnik Nov 21, 2024
8252ea5
run Test_vl3MtuServer_SpoiledConnection 10000 times
NikitaSkrynnik Nov 21, 2024
24413df
run TestInterdomainFloatingNetworkServiceEndpointRegistry 10000 times
NikitaSkrynnik Nov 21, 2024
f36a190
run TestRefreshClient_Sandbox 1000 times
NikitaSkrynnik Nov 21, 2024
45e49b0
run TestRefreshClient_Sandbox 10000000 times
NikitaSkrynnik Nov 21, 2024
706df78
run Test_DiscoverForwarder_ChangeForwarderOnClose 5000 times
NikitaSkrynnik Nov 21, 2024
a99d3d5
run Test_DiscoverForwarder_ChangeForwarderOnClose 100000 times
NikitaSkrynnik Nov 22, 2024
01aa9a5
run Test_DiscoverForwarder_ChangeForwarderOnDeath_LostHeal 10000 times
NikitaSkrynnik Nov 22, 2024
7bf1e76
run Test_DiscoverForwarder_ChangeForwarderOnDeath_LostHeal 100000 times
NikitaSkrynnik Nov 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 5 additions & 40 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,49 +6,14 @@ on:
branches:
- "release/**"
jobs:
yamllint:
uses: networkservicemesh/.github/.github/workflows/yamllint.yaml@main

build-and-test:
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
with:
linter-version: v1.60.3

exclude-fmt-errorf:
uses: networkservicemesh/.github/.github/workflows/exclude-fmt-errorf.yaml@main

restrict-nsm-deps:
uses: networkservicemesh/.github/.github/workflows/restrict-nsm-deps.yaml@main
with:
allowed_repositories: "api"

checkgomod:
uses: networkservicemesh/.github/.github/workflows/checkgomod.yaml@main

gogenerate:
uses: networkservicemesh/.github/.github/workflows/sdk-gogenerate.yaml@main

exclude-replace:
uses: networkservicemesh/.github/.github/workflows/exclude-replace.yaml@main

code-cov:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23.1
- run: |
go test -coverprofile=coverage-${{ matrix.os }}.txt -covermode=atomic -race ./...
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3
go-version: 1.23.3
- name: Test
run: go test -race -run Test_DiscoverForwarder_ChangeForwarderOnDeath_LostHeal ./pkg/networkservice/chains/nsmgr -count 100000 -timeout 6h
20 changes: 0 additions & 20 deletions .github/workflows/codeql-analysis.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion pkg/networkservice/common/begin/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type beginServer struct {
genericsync.Map[string, *eventFactoryServer]
}

// NewServer - creates a new begin chain element
// NewServer - creates a new begin chain elem ent
func NewServer() networkservice.NetworkServiceServer {
return &beginServer{}
}
Expand Down
Loading