Skip to content

Commit 9a4dca0

Browse files
Fix version parsing for head tests (#65)
1 parent d806df4 commit 9a4dca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ClickHouse.Driver.Tests/TestUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static class TestUtilities
2121
static TestUtilities()
2222
{
2323
var versionString = Environment.GetEnvironmentVariable("CLICKHOUSE_VERSION");
24-
if (versionString is not null and not "latest")
24+
if (versionString is not null and not "latest" and not "head")
2525
{
2626
ServerVersion = Version.Parse(versionString.Split(':').Last().Trim());
2727
SupportedFeatures = ClickHouseFeatureMap.GetFeatureFlags(ServerVersion);

0 commit comments

Comments
 (0)