Skip to content

Commit ef5aa5e

Browse files
authored
chore(csharp/test/Drivers/Databricks): Skip StatusPollerKeepsQueryAlive in CI test (#3155)
## Motivation The test `StatementTest:StatusPollerKeepsQueryAlive` runs 30 minutes as it tests if Databricks connection is still alive after 30 idle time after using KeepAlive poller, which is not applicable for CI test. We should exclude it from the CI. ## Changes - Skip `StatementTest:StatusPollerKeepsQueryAlive` test when `TestConfiguration.IsCITesting` is true
1 parent 4002336 commit ef5aa5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csharp/test/Drivers/Databricks/E2E/StatementTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,8 @@ private async Task PrepareTableAsync(string fullTableName, string sqlResourceLoc
886886
[InlineData(true, "CloudFetch enabled")]
887887
public async Task StatusPollerKeepsQueryAlive(bool useCloudFetch, string configName)
888888
{
889+
Skip.If(TestConfiguration.IsCITesting, "Skip test in CI testing");
890+
889891
OutputHelper?.WriteLine($"Testing status poller with long delay between reads ({configName})");
890892

891893
// Create a connection using the test configuration

0 commit comments

Comments
 (0)