Skip to content

Commit

Permalink
run test 1000 times
Browse files Browse the repository at this point in the history
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
  • Loading branch information
NikitaSkrynnik committed Dec 10, 2024
1 parent 67fb7eb commit 870fb8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
go-version: 1.23.1
- run: |
mkdir ${{ matrix.os }}
go test -race -run "^Test_NSC_ConnectsTo_vl3NSE$" ./pkg/networkservice/chains/nsmgr -count 2000 -timeout 6h -v > ${{ matrix.os }}/logs
go test -race -run "^Test_NSC_ConnectsTo_vl3NSE$" ./pkg/networkservice/chains/nsmgr -count 1000 -timeout 6h -v > ${{ matrix.os }}/logs
- name: Upload Logs
uses: actions/upload-artifact@v4
if: ${{ success() || failure() || cancelled() }}
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
go-version: 1.23.1
- run: |
mkdir ${{ matrix.os }}
go test -race -run "^Test_NSC_ConnectsTo_vl3NSE$" ./pkg/networkservice/chains/nsmgr -count 2000 -timeout 6h -v > ${{ matrix.os }}/logs
go test -race -run "^Test_NSC_ConnectsTo_vl3NSE$" ./pkg/networkservice/chains/nsmgr -count 1000 -timeout 6h -v > ${{ matrix.os }}/logs
- name: Upload Logs
uses: actions/upload-artifact@v4
if: ${{ success() || failure() || cancelled() }}
Expand Down
2 changes: 1 addition & 1 deletion pkg/networkservice/chains/nsmgr/vl3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func Test_NSC_ConnectsTo_vl3NSE(t *testing.T) {
},
}

for i := 0; i < 10; i++ {
for i := 0; i < 3; i++ {
nsc := domain.Nodes[0].NewClient(ctx, sandbox.GenerateTestToken)

req := defaultRequest(nsReg.Name)
Expand Down

0 comments on commit 870fb8e

Please sign in to comment.