Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
unrenormalizable committed Dec 7, 2024
1 parent 1ec7e2e commit 2fc2e1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/cdp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,28 +69,9 @@ jobs:
[io.compression.zipfile]::OpenRead($dst).Entries.Name | % { "- $_"}
shell: pwsh

- name: Test (new)
continue-on-error: true
run: |
mkdir /tw
echo "Downloading & installing test-window package..."
Invoke-WebRequest -Uri "https://ksapplications.blob.core.windows.net/public/test-window.zip" -OutFile "/tw/test-window.zip"
Expand-Archive -Path "/tw/test-window.zip" -DestinationPath /tw
echo "Running tests..."
cd $env:OutDir
& "\tw\vstest.console.exe" *.UnitTests.dll "/logger:console;verbosity=detailed" "/logger:trx;LogFileName=test-results.new.trx"
- name: Generate test report (new)
uses: dorny/test-reporter@v1
continue-on-error: true
with:
name: Tests Results
path: ${{ env.OutDir }}TestResults\test-results.new.trx
reporter: dotnet-trx
fail-on-error: false

- name: Test
uses: rusty-bender/vstest-action@main
continue-on-error: true
with:
testAssembly: '*.UnitTests.dll'
searchFolder: '${{ env.OutDir }}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace KS.RustAnalyzer.TestAdapter.UnitTests.Common;

public sealed class ProcessExtensionTests
{
private const int TimeoutSeconds = 6;
private const int TimeoutSeconds = 30;

[Fact]
public void CanFindAliveParentProcessId()
Expand Down

0 comments on commit 2fc2e1b

Please sign in to comment.