Skip to content

Commit 4002336

Browse files
authored
chore(csharp/test/Drivers/Databricks): Add IsCITesting in DatabricksTestConfiguration (#3153)
## Motivation There are some E2E test in Databricks driver tests ( e.g.`StatusPollerKeepsQueryAlive` in `StatementTest`) should be skipped for various reasons, we can include property `IsCITesting` in `DatabricksTestConfiguration` to indicates if the current test environment is run in the CI. ### Changes - Added `IsCITesting` in `DatabricksTestConfiguration` with default value `false`
1 parent 00be00e commit 4002336

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,8 @@ public class DatabricksTestConfiguration : SparkTestConfiguration
4545

4646
[JsonPropertyName("traceStateEnabled"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
4747
public string TraceStateEnabled { get; set; } = string.Empty;
48+
49+
[JsonPropertyName("isCITesting"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
50+
public bool IsCITesting { get; set; } = false;
4851
}
4952
}

0 commit comments

Comments
 (0)