Skip to content

Commit 34fe654

Browse files
committed
Update ChDbTest.cs
1 parent 6d9a7d4 commit 34fe654

File tree

4 files changed

+217
-208
lines changed

4 files changed

+217
-208
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
include:
29-
- os: ubuntu-latest
29+
- os: ubuntu-22.04
3030
rid: linux-x64
3131
- os: macos-latest
3232
rid: osx-x64
@@ -72,7 +72,7 @@ jobs:
7272
dotnet build --no-restore --configuration Release
7373
7474
- name: Test
75-
run: dotnet test -c Release --no-build --logger trx --results-directory "TestResults-${{ matrix.rid }}"
75+
run: dotnet test -c Release /p:TestTfmsInParallel=false --logger "console;verbosity=detailed" --no-build --logger trx --results-directory "TestResults-${{ matrix.rid }}"
7676

7777
# - name: Upload dotnet test results
7878
# uses: actions/upload-artifact@v4

src/chdb/Session.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public record Session : IDisposable
2121

2222
public void Dispose()
2323
{
24-
if (!IsTemp && DataPath?.EndsWith("chdb_") == true && Directory.Exists(DataPath))
24+
if (IsTemp && DataPath?.EndsWith("chdb_") == true && Directory.Exists(DataPath))
2525
Directory.Delete(DataPath, true);
2626
}
2727

0 commit comments

Comments
 (0)