Skip to content

Commit 2fc2e1b

Browse files
fixing tests
1 parent 1ec7e2e commit 2fc2e1b

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

.github/workflows/cdp.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -69,28 +69,9 @@ jobs:
6969
[io.compression.zipfile]::OpenRead($dst).Entries.Name | % { "- $_"}
7070
shell: pwsh
7171

72-
- name: Test (new)
73-
continue-on-error: true
74-
run: |
75-
mkdir /tw
76-
echo "Downloading & installing test-window package..."
77-
Invoke-WebRequest -Uri "https://ksapplications.blob.core.windows.net/public/test-window.zip" -OutFile "/tw/test-window.zip"
78-
Expand-Archive -Path "/tw/test-window.zip" -DestinationPath /tw
79-
echo "Running tests..."
80-
cd $env:OutDir
81-
& "\tw\vstest.console.exe" *.UnitTests.dll "/logger:console;verbosity=detailed" "/logger:trx;LogFileName=test-results.new.trx"
82-
83-
- name: Generate test report (new)
84-
uses: dorny/test-reporter@v1
85-
continue-on-error: true
86-
with:
87-
name: Tests Results
88-
path: ${{ env.OutDir }}TestResults\test-results.new.trx
89-
reporter: dotnet-trx
90-
fail-on-error: false
91-
9272
- name: Test
9373
uses: rusty-bender/vstest-action@main
74+
continue-on-error: true
9475
with:
9576
testAssembly: '*.UnitTests.dll'
9677
searchFolder: '${{ env.OutDir }}'

src/RustAnalyzer.TestAdapter.UnitTests/Common/ProcessExtensionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace KS.RustAnalyzer.TestAdapter.UnitTests.Common;
1010

1111
public sealed class ProcessExtensionTests
1212
{
13-
private const int TimeoutSeconds = 6;
13+
private const int TimeoutSeconds = 30;
1414

1515
[Fact]
1616
public void CanFindAliveParentProcessId()

0 commit comments

Comments
 (0)