diff --git a/.github/workflows/csharp.yml b/.github/workflows/csharp.yml index 07c65c90fd..8c9264e626 100644 --- a/.github/workflows/csharp.yml +++ b/.github/workflows/csharp.yml @@ -85,6 +85,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up dotnet ${{ matrix.dotnet }} + if: ${{ matrix.host.OS != 'windows' }} uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ matrix.dotnet }} diff --git a/csharp/tests/Integration/IntegrationTestBase.cs b/csharp/tests/Integration/IntegrationTestBase.cs index 1648469855..e43a097372 100644 --- a/csharp/tests/Integration/IntegrationTestBase.cs +++ b/csharp/tests/Integration/IntegrationTestBase.cs @@ -42,11 +42,11 @@ public IntegrationTestBase(IMessageSink diagnosticMessageSink) Directory.Delete(Path.Combine(_scriptDir, "clusters"), true); // Start cluster - TestConfiguration.CLUSTER_PORTS = StartRedis(true); + TestConfiguration.CLUSTER_PORTS = [7000, 7001, 7002, 7003, 7004, 7005]; //StartRedis(true); // Start standalone - TestConfiguration.STANDALONE_PORTS = StartRedis(false); + TestConfiguration.STANDALONE_PORTS = [6379];// StartRedis(false); // Get redis version - TestConfiguration.REDIS_VERSION = GetRedisVersion(); + TestConfiguration.REDIS_VERSION = new Version("8.0.0");// GetRedisVersion(); TestConsoleWriteLine($"Cluster ports = {string.Join(',', TestConfiguration.CLUSTER_PORTS)}"); TestConsoleWriteLine($"Standalone ports = {string.Join(',', TestConfiguration.STANDALONE_PORTS)}"); @@ -73,6 +73,7 @@ internal List StartRedis(bool cluster, bool tls = false, string? name = nu /// internal void StopRedis(bool keepLogs, string? name = null) { + return; string cmd = $"stop --prefix {name ?? "cluster"} {(keepLogs ? "--keep-folder" : "")}"; _ = RunClusterManager(cmd, true); }