Skip to content

Commit 168043a

Browse files
committed
Fixed Parquet data source unit tests
1 parent 4cdb410 commit 168043a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/DatabaseBenchmark.Tests/DataSources/ParquetDataSourceTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using Parquet;
33
using Parquet.Data;
44
using Parquet.Schema;
5+
using System;
56
using System.IO;
67
using System.Threading.Tasks;
78
using Xunit;
@@ -17,7 +18,7 @@ public ParquetDataSourceTests()
1718
[Fact]
1819
public async Task ReadValues()
1920
{
20-
string testFilePath = "test.parquet";
21+
string testFilePath = Path.Combine(Path.GetTempPath(), $"test-{Guid.NewGuid()}.parquet");
2122

2223
try
2324
{
@@ -64,7 +65,7 @@ public async Task ReadValues()
6465
[Fact]
6566
public async Task ReadListValues()
6667
{
67-
string testFilePath = "test-list.parquet";
68+
string testFilePath = Path.Combine(Path.GetTempPath(), $"test-list-{Guid.NewGuid()}.parquet");
6869

6970
try
7071
{

0 commit comments

Comments
 (0)