Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: StackExchange/StackExchange.Redis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.1.58
Choose a base ref
...
head repository: StackExchange/StackExchange.Redis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.6.111
Choose a head ref

Commits on Jun 18, 2020

  1. 2.1.58 release notes

    mgravell committed Jun 18, 2020
    Copy the full SHA
    f52cba7 View commit details

Commits on Jun 20, 2020

  1. master -> main changes

    Nick Craver committed Jun 20, 2020
    Copy the full SHA
    c615157 View commit details

Commits on Jun 21, 2020

  1. Copy the full SHA
    3de3f7b View commit details
  2. Copy the full SHA
    0660e21 View commit details
  3. Merge pull request #1505 from suslovk/obsolete-config-props

    Obsolete label for responseTimeout and writeBuffer in docs
    NickCraver authored Jun 21, 2020
    Copy the full SHA
    9bc95d3 View commit details
  4. Fix GH Pages Rendering

    It'd be nice if their preview matched their actual...
    Nick Craver committed Jun 21, 2020
    Copy the full SHA
    fe91833 View commit details

Commits on Jun 23, 2020

  1. Fixed a copy/paste mistake in documentation (#1509)

    * Fixed a copy/paste mistake in documentation
    
    * Fixed a copy/paste mistake in documentation
    spiritbob authored Jun 23, 2020
    Copy the full SHA
    4eb7f81 View commit details

Commits on Jul 7, 2020

  1. Copy the full SHA
    c689208 View commit details

Commits on Jul 12, 2020

  1. Fix for #1512

    The assumption in the result processor was that it must have results to be valid, but that's not correct. If a sentinel has 0 replicas (only 1 master), that's a perfectly valid state. This adjusts the result processor logic to be more correct.
    Nick Craver committed Jul 12, 2020
    Copy the full SHA
    df2e11a View commit details

Commits on Jul 13, 2020

  1. Merge pull request #1527 from StackExchange/craver/fix-1512

    The assumption in the result processor was that it must have results to be valid, but that's not correct. If a sentinel has 0 replicas (only 1 master), that's a perfectly valid state. This adjusts the result processor logic to be more correct.
    NickCraver authored Jul 13, 2020
    Copy the full SHA
    6df16f7 View commit details

Commits on Jul 15, 2020

  1. Don't set a default serverselection stratergy in case there was a fau…

    …lt getting the servertype
    deepakverma committed Jul 15, 2020
    Copy the full SHA
    d2cc471 View commit details

Commits on Aug 22, 2020

  1. Tests: cleanup & perf pass

    Yet another attempt to stabilize testing on CI.
    
    Overall:
    - Code cleanup (thanks Rider)
    - Reduces some load of the more busy tests.
       - HackyGetPerf() in Scripting.cs for 100,000 iterations in existing
       - Overal AsyncOpsQty/SyncOpsQty 10,000 -> 2,000
    - Uniques some keys that weren't yet, causing simultaneous framework runs to collide
    Nick Craver committed Aug 22, 2020
    Copy the full SHA
    95fbe73 View commit details

Commits on Aug 23, 2020

  1. Lower it a tad more

    Nick Craver committed Aug 23, 2020
    Copy the full SHA
    aa4e58f View commit details

Commits on Aug 24, 2020

  1. Merge pull request #1558 from StackExchange/craver/test-cleanup

    Yet another attempt to stabilize testing on CI.
    
    Overall:
    - Code cleanup (thanks Rider)
    - Reduces some load of the more busy tests.
       - HackyGetPerf() in Scripting.cs for 100,000 iterations in existing
       - Overal AsyncOpsQty/SyncOpsQty 10,000 -> 2,000
    - Uniques some keys that weren't yet, causing simultaneous framework runs to collide
    NickCraver authored Aug 24, 2020
    Copy the full SHA
    b0f21d3 View commit details

Commits on Aug 25, 2020

  1. improve error message when reporting config string errors (#1559)

    * improve error message when reporting config string errors
    
    * add test for unexpected keys
    
    * verify .ParamName
    mgravell authored Aug 25, 2020
    Copy the full SHA
    046f135 View commit details
  2. Merge pull request #1532 from deepakverma/ServerSelectionStrategy

    Don't set a default serverselection stratergy in case there was a fault getting the servertype
    NickCraver authored Aug 25, 2020
    Copy the full SHA
    026ce92 View commit details
  3. Copy the full SHA
    acae6cf View commit details
  4. and another fixup

    mgravell committed Aug 25, 2020
    Copy the full SHA
    2fd5b79 View commit details

Commits on Aug 26, 2020

  1. Make this internal for now

    Nick Craver committed Aug 26, 2020
    Copy the full SHA
    f2831c8 View commit details
  2. Unrelated test fix + logging

    Nick Craver committed Aug 26, 2020
    Copy the full SHA
    26eb3c7 View commit details
  3. Merge branch 'main' into pr/1525

    Nick Craver committed Aug 26, 2020
    Copy the full SHA
    be109fd View commit details
  4. Merge pull request #1525 from ejsmith/sentinel-port-fix

    This makes it so that when using a configuration string to connect that we only parse the configuration string and not set any defaults on it until it is forwarded on to the connect methods that take `ConfigurationOptions`
    NickCraver authored Aug 26, 2020
    Copy the full SHA
    ad94bd3 View commit details

Commits on Sep 2, 2020

  1. Copy the full SHA
    d28a43a View commit details

Commits on Sep 10, 2020

  1. Copy the full SHA
    8b64a53 View commit details

Commits on Oct 14, 2020

  1. Copy the full SHA
    4766196 View commit details

Commits on Oct 15, 2020

  1. Copy the full SHA
    0ba9a2f View commit details
  2. rethrow any other

    arsnyder16 committed Oct 15, 2020
    Copy the full SHA
    0d5e7c9 View commit details

Commits on Oct 21, 2020

  1. Implement api for rpushx/lpushx with multiple values (#1577)

    * Implement api for rpushx/lpushx with multiply values
    
    * add integration tests
    
    Co-authored-by: Dmytro Hridin <v-dmytro.hridin@lionbridge.com>
    dmytrohridin and Dmytro Hridin authored Oct 21, 2020
    Copy the full SHA
    b98a9dc View commit details
  2. Do not invert the range if the max value is default(RedisValue) (#…

    …1573)
    
    * Altered test case to cover new variation.
    
    Essentially we need to ensure that if `Order` is set to "Ascending" and
    the `max` value is `default(RedisValue)` that the range command is
    issued correctly.
    
    * Not reversing limits if order is ascending and the stop value is
    default.
    tombatron authored Oct 21, 2020
    Copy the full SHA
    76cba67 View commit details
  3. Implement ROLE command (#1551)

    * api definition
    
    * implement result processor for master role
    
    * implement replica and sentinel role parsing
    
    * add role to the sentinel allowed command list
    zmj authored Oct 21, 2020
    Copy the full SHA
    eacfff8 View commit details
  4. Copy the full SHA
    80165ea View commit details
  5. Copy the full SHA
    64e5b13 View commit details

Commits on Oct 22, 2020

  1. - fixups and notes for wsl2 (in particular: disable protected mode)

    - fix some broken sln links
    - redisearch ("ft") is now aka "search"
    mgravell committed Oct 22, 2020
    Copy the full SHA
    1f7445a View commit details
  2. Copy the full SHA
    08060d5 View commit details
  3. more notes/fixes on wsl2

    mgravell committed Oct 22, 2020
    Copy the full SHA
    81f0da6 View commit details
  4. Copy the full SHA
    217a725 View commit details
  5. Build changes - netcoreapp3.1 and dependencies (#1594)

    - add netcoreapp3.1 TFM
      - aim here is to enable unix sockets, but it also means we can simplify dep tree
    - drop net461/netcoreapp2.1 from tests
    - fix broken assembly reference for compression and runtime interop
    - add feature test on new varadic list push commands
    - minor warning fixups
    - test output change in ArgumentException
    - flags-enum formatting changed in nca3.1
    - MuxerIsCollected needs investigation
    mgravell authored Oct 22, 2020
    Copy the full SHA
    59ef0c4 View commit details
  6. GitHub Actions logging

    Nick Craver committed Oct 22, 2020
    Copy the full SHA
    012da5f View commit details
  7. Split test phases out

    This could be 2 jobs later, but let's just get it as 2 steps for now.
    Nick Craver committed Oct 22, 2020
    Copy the full SHA
    89cebbc View commit details

Commits on Oct 23, 2020

  1. Merge pull request #1596 from StackExchange/craver/logging-actions

    Getting some Actions error logging up in here, logs where the test failures are in the diff (if the change is present), color codes the console, and splits the tests into steps for the 2 projects so that it's easier to see what went wrong. See the action run on this PR to see. Good to merge for helping us get `main` back green.
    NickCraver authored Oct 23, 2020
    Copy the full SHA
    3547d84 View commit details

Commits on Oct 24, 2020

  1. Merge pull request #1563 from aravindyeduvaka/master

    Multiple people had previously complained that whenever there is a cluster failover, they experience Connection Exceptions for at least close to a minute.
    During investigation, @joroda found that this is due to the fact that config check is done roughly every 60 seconds by default and during failover it has to be done almost immediately to eliminate the errors.
    
    This fix shows significant improvement from the tests we did. it reduces errors to around 2 seconds for the 90th percentile case compared to around 56 seconds of errors for 90th percentile right now.
    NickCraver authored Oct 24, 2020
    Copy the full SHA
    b634be8 View commit details
  2. NRediSearch: flush every test

    Fundamentally, JRediSearch is doing this, and bases test assumptions on it. To get back to a decent/matching state, we need to do the same.
    Nick Craver committed Oct 24, 2020
    Copy the full SHA
    ddc39d1 View commit details
  3. ...and disable parallelization...

    Nick Craver committed Oct 24, 2020
    Copy the full SHA
    875eb2e View commit details
  4. Copy the full SHA
    edd87de View commit details
  5. Split builds out

    Nick Craver committed Oct 24, 2020
    Copy the full SHA
    702c6c2 View commit details
  6. Woops

    Nick Craver committed Oct 24, 2020
    Copy the full SHA
    a41780c View commit details
  7. Merge pull request #1598 from StackExchange/craver/build-errors2

    Fundamentally, JRediSearch is doing this, and bases test assumptions on it. To get back to a decent/matching state, we need to do the same. It also brings in the hash failure check from https://github.com/RediSearch/JRediSearch/blob/f1d7e2ed64a18e99b31b3b7fe48bb972c00e3999/src/test/java/io/redisearch/client/ClientTest.java#L403-L408
    NickCraver authored Oct 24, 2020
    Copy the full SHA
    31ce11d View commit details
  8. AppVeyor: remove Ubuntu

    This is covered by Actions now, and AppVeyor is currently flipping out due to something on their end...let's kill it.
    Nick Craver committed Oct 24, 2020
    Copy the full SHA
    ae0e3cf View commit details
  9. Merge pull request #1599 from StackExchange/craver/appveyor-cleanup

    Builds: AppVeyor: remove Ubuntu
    NickCraver authored Oct 24, 2020
    Copy the full SHA
    a774cd1 View commit details
  10. Merge branch 'main' into pr/1585

    Nick Craver committed Oct 24, 2020
    Copy the full SHA
    3d43209 View commit details
Showing 514 changed files with 48,809 additions and 37,093 deletions.
14 changes: 14 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ARG INSTALL_NODE=false
ARG INSTALL_AZURE_CLI=false
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:dev-5.0

ENV DOTNET_NOLOGO=true
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
ENV DEVCONTAINER=true

# install redis-cli and ping
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends iputils-ping redis-tools mono-runtime

# install SDK 3.1
RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 3.1 --install-dir /usr/share/dotnet/
11 changes: 11 additions & 0 deletions .devcontainer/TestConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"MasterServer": "redis",
"ReplicaServer": "redis",
"SecureServer": "redis",
"FailoverMasterServer": "redis",
"FailoverReplicaServer": "redis",
"IPv4Server": "redis",
"RemoteServer": "redis",
"SentinelServer": "redis",
"ClusterServer": "redis"
}
17 changes: 17 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "StackExchange.Redis",
"dockerComposeFile": [
"docker-compose.yml"
],
"service": "devcontainer",
"workspaceFolder": "/workspace",
"postCreateCommand": "dotnet restore Build.csproj",

"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"extensions": [
"ms-dotnettools.csharp",
"ms-azuretools.vscode-docker"
],
}
23 changes: 23 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: '3.7'

services:
devcontainer:
build:
context: .
dockerfile: Dockerfile
volumes:
- ..:/workspace:cached
# Mount the TestConfig.json file as readonly, so that tests talk to services in the internal docker network
# This leaves the original TestsConfig.json outside the devcontainer untouched
- ./TestConfig.json:/workspace/tests/StackExchange.Redis.Tests/TestConfig.json:ro
depends_on:
- redis
links:
- "redis:redis"
command: /bin/sh -c "while sleep 1000; do :; done"
redis:
build:
context: ../tests/RedisConfigs
dockerfile: Dockerfile
sysctls :
net.core.somaxconn: '511'
138 changes: 108 additions & 30 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -27,56 +27,134 @@ indent_size = 2
# Dotnet code style settings:
[*.{cs,vb}]
# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first = true
dotnet_sort_system_directives_first = true:warning
# Avoid "this." and "Me." if not necessary
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion
dotnet_style_qualification_for_field = false:warning
dotnet_style_qualification_for_property = false:warning
dotnet_style_qualification_for_method = false:warning
dotnet_style_qualification_for_event = false:warning

# Modifiers
dotnet_style_require_accessibility_modifiers = for_non_interface_members:warning
dotnet_style_readonly_field = true:warning

# Use language keywords instead of framework type names for type references
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion
dotnet_style_predefined_type_for_locals_parameters_members = true:warning
dotnet_style_predefined_type_for_member_access = true:warning

# Suggest more modern language features when available
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_object_initializer = true:warning
dotnet_style_collection_initializer = true:warning
dotnet_style_explicit_tuple_names = true:warning
dotnet_style_null_propagation = true:warning
dotnet_style_coalesce_expression = true:warning
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning
dotnet_style_prefer_auto_properties = true:suggestion

# Ignore silly if statements
dotnet_style_prefer_conditional_expression_over_return = false:none
dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion
dotnet_style_prefer_conditional_expression_over_return = true:suggestion

# Don't warn on things that actually need suppressing
dotnet_remove_unnecessary_suppression_exclusions = CA1009,CA1063,CA1069,CA1416,CA1816,CA1822,CA2202,CS0618,IDE0060,IDE0062,RCS1047,RCS1085,RCS1090,RCS1194,RCS1231

# Style Definitions
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
# Use PascalCase for constant fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_symbols.constant_fields.applicable_kinds = field
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
dotnet_naming_symbols.constant_fields.required_modifiers = const

# CSharp code style settings:
[*.cs]
# Prefer method-like constructs to have a expression-body
csharp_style_expression_bodied_methods = true:none
csharp_style_expression_bodied_constructors = true:none
csharp_style_expression_bodied_operators = true:none
csharp_style_expression_bodied_constructors = true:silent
csharp_style_expression_bodied_methods = true:silent
csharp_style_expression_bodied_operators = true:warning

# Prefer property-like constructs to have an expression-body
csharp_style_expression_bodied_properties = true:none
csharp_style_expression_bodied_indexers = true:none
csharp_style_expression_bodied_accessors = true:none
csharp_style_expression_bodied_accessors = true:warning
csharp_style_expression_bodied_indexers = true:warning
csharp_style_expression_bodied_properties = true:warning
csharp_style_expression_bodied_lambdas = true:warning
csharp_style_expression_bodied_local_functions = true:silent

# Suggest more modern language features when available
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion
# Pattern matching preferences
csharp_style_pattern_matching_over_is_with_cast_check = true:warning
csharp_style_pattern_matching_over_as_with_null_check = true:warning

# Null-checking preferences
csharp_style_throw_expression = true:warning
csharp_style_conditional_delegate_call = true:warning

# Modifier preferences
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,volatile,async:suggestion

# Expression-level preferences
csharp_prefer_braces = true:silent
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_prefer_simple_default_expression = true:silent
csharp_style_pattern_local_over_anonymous_function = true:suggestion
csharp_style_inlined_variable_declaration = true:warning
csharp_prefer_simple_using_statement = true:silent
csharp_style_prefer_not_pattern = true:warning
csharp_style_prefer_switch_expression = true:warning

# Disable range operator suggestions
csharp_style_prefer_range_operator = false:none
csharp_style_prefer_index_operator = false:none

# Newline settings
# New line preferences
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true

# Indentation preferences
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_labels = flush_left

# Space preferences
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true:warning
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_around_binary_operators = before_and_after
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false

# Wrapping preferences
csharp_preserve_single_line_statements = true
csharp_preserve_single_line_blocks = true

# IDE0090: Use 'new(...)'
dotnet_diagnostic.IDE0090.severity = silent

# RCS1037: Remove trailing white-space.
dotnet_diagnostic.RCS1037.severity = error

# RCS1098: Constant values should be placed on right side of comparisons.
dotnet_diagnostic.RCS1098.severity = none

# RCS1194: Implement exception constructors.
dotnet_diagnostic.RCS1194.severity = none

# RCS1229: Use async/await when necessary.
dotnet_diagnostic.RCS1229.severity = none

# Space settings
csharp_space_after_keywords_in_control_flow_statements = true:suggestion
# RCS1233: Use short-circuiting operator.
dotnet_diagnostic.RCS1233.severity = none

# Language settings
csharp_prefer_simple_default_expression = false:none
# RCS1234: Duplicate enum value.
dotnet_diagnostic.RCS1234.severity = none
4 changes: 2 additions & 2 deletions .github/.github.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.Build.NoTargets/1.0.94">
<Project Sdk="Microsoft.Build.NoTargets/3.3.0">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
</Project>
91 changes: 91 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: CI

on:
pull_request:
push:
branches:
- main
paths:
- '*'
- '!/docs/*' # Don't run workflow when files are only in the /docs directory

jobs:
main:
name: StackExchange.Redis (Ubuntu)
runs-on: ubuntu-latest
env:
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: "1" # Enable color output, even though the console output is redirected in Actions
TERM: xterm # Enable color output in GitHub Actions
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Install .NET SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
6.0.x
7.0.x
- name: .NET Build
run: dotnet build Build.csproj -c Release /p:CI=true
- name: Start Redis Services (docker-compose)
working-directory: ./tests/RedisConfigs
run: docker-compose -f docker-compose.yml up -d
- name: StackExchange.Redis.Tests
run: dotnet test tests/StackExchange.Redis.Tests/StackExchange.Redis.Tests.csproj -c Release --logger trx --logger GitHubActions --results-directory ./test-results/ /p:CI=true
- uses: dorny/test-reporter@v1
continue-on-error: true
if: success() || failure()
with:
name: Test Results - Ubuntu
path: 'test-results/*.trx'
reporter: dotnet-trx
- name: .NET Lib Pack
run: dotnet pack src/StackExchange.Redis/StackExchange.Redis.csproj --no-build -c Release /p:Packing=true /p:PackageOutputPath=%CD%\.nupkgs /p:CI=true

windows:
name: StackExchange.Redis (Windows Server 2022)
runs-on: windows-2022
env:
NUGET_CERT_REVOCATION_MODE: offline # Disabling signing because of massive perf hit, see https://github.com/NuGet/Home/issues/11548
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: "1" # Note this doesn't work yet for Windows - see https://github.com/dotnet/runtime/issues/68340
TERM: xterm
steps:
- name: Checkout code
uses: actions/checkout@v1
# - name: Install .NET SDK
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: |
# 6.0.x
# 7.0.x
- name: .NET Build
run: dotnet build Build.csproj -c Release /p:CI=true
- name: Start Redis Services (v3.0.503)
working-directory: .\tests\RedisConfigs\3.0.503
run: |
.\redis-server.exe --service-install --service-name "redis-6379" "..\Basic\primary-6379-3.0.conf"
.\redis-server.exe --service-install --service-name "redis-6380" "..\Basic\replica-6380.conf"
.\redis-server.exe --service-install --service-name "redis-6381" "..\Basic\secure-6381.conf"
.\redis-server.exe --service-install --service-name "redis-6382" "..\Failover\primary-6382.conf"
.\redis-server.exe --service-install --service-name "redis-6383" "..\Failover\replica-6383.conf"
.\redis-server.exe --service-install --service-name "redis-7000" "..\Cluster\cluster-7000.conf" --dir "..\Cluster"
.\redis-server.exe --service-install --service-name "redis-7001" "..\Cluster\cluster-7001.conf" --dir "..\Cluster"
.\redis-server.exe --service-install --service-name "redis-7002" "..\Cluster\cluster-7002.conf" --dir "..\Cluster"
.\redis-server.exe --service-install --service-name "redis-7003" "..\Cluster\cluster-7003.conf" --dir "..\Cluster"
.\redis-server.exe --service-install --service-name "redis-7004" "..\Cluster\cluster-7004.conf" --dir "..\Cluster"
.\redis-server.exe --service-install --service-name "redis-7005" "..\Cluster\cluster-7005.conf" --dir "..\Cluster"
.\redis-server.exe --service-install --service-name "redis-7010" "..\Sentinel\redis-7010.conf"
.\redis-server.exe --service-install --service-name "redis-7011" "..\Sentinel\redis-7011.conf"
.\redis-server.exe --service-install --service-name "redis-26379" "..\Sentinel\sentinel-26379.conf" --sentinel
.\redis-server.exe --service-install --service-name "redis-26380" "..\Sentinel\sentinel-26380.conf" --sentinel
.\redis-server.exe --service-install --service-name "redis-26381" "..\Sentinel\sentinel-26381.conf" --sentinel
Start-Service redis-*
- name: StackExchange.Redis.Tests
run: dotnet test tests/StackExchange.Redis.Tests/StackExchange.Redis.Tests.csproj -c Release --logger trx --logger GitHubActions --results-directory ./test-results/ /p:CI=true
- uses: dorny/test-reporter@v1
continue-on-error: true
if: success() || failure()
with:
name: Tests Results - Windows Server 2022
path: 'test-results/*.trx'
reporter: dotnet-trx
29 changes: 0 additions & 29 deletions .github/workflows/Linux.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -27,4 +27,5 @@ t8.shakespeare.txt
launchSettings.json
*.vsp
*.diagsession
TestResults/
TestResults/
BenchmarkDotNet.Artifacts/
2 changes: 1 addition & 1 deletion Build.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.Build.Traversal/2.0.24">
<Project Sdk="Microsoft.Build.Traversal/3.0.2">
<ItemGroup>
<ProjectReference Include="src\**\*.csproj" />
<ProjectReference Include="tests\**\*.csproj" />
Loading