-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On first request set our own operationId so reattachexecute works wit…
…h spark 3.5.3 (#42)
- Loading branch information
Showing
4 changed files
with
90 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/test/Spark.Connect.Dotnet.Tests/RequestExecutorTests/RequestExecutorTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using Spark.Connect.Dotnet.Sql; | ||
using Xunit.Abstractions; | ||
using static Spark.Connect.Dotnet.Sql.Functions; | ||
|
||
namespace Spark.Connect.Dotnet.Tests.RequestExecutorTests; | ||
|
||
public class RequestExecutorTests : E2ETestBase | ||
{ | ||
|
||
public RequestExecutorTests(ITestOutputHelper logger) : base(logger) | ||
{ | ||
} | ||
|
||
[Fact(Skip = "Pauses for 2 mins - run when testing RequestExecutor")] | ||
public void Initial_Request_Takes_Longer_Than_Timeout() | ||
{ | ||
Spark.Conf.Set(SparkDotnetKnownConfigKeys.GrpcLogging, "console"); | ||
Spark.Range(1).Select(Reflect(Lit("java.lang.Thread"), Lit("sleep"), Lit((long)160000))).Show(); | ||
} | ||
} |