Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
ae3828de
Commit
ae3828de
authored
Jul 10, 2018
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: remove the 250ms per run pause
We're stable enough to not need this anymore, yay for faster runs!
parent
15cb2b12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Cluster.cs
StackExchange.Redis.Tests/Cluster.cs
+1
-1
TestBase.cs
StackExchange.Redis.Tests/TestBase.cs
+1
-2
No files found.
StackExchange.Redis.Tests/Cluster.cs
View file @
ae3828de
...
...
@@ -432,7 +432,7 @@ public void Keys(string pattern, int pageSize)
public
void
HashSlots
(
string
key
,
int
slot
)
{
using
(
var
muxer
=
Create
(
connectTimeout
:
5000
,
pause
:
false
))
using
(
var
muxer
=
Create
(
connectTimeout
:
5000
))
{
Assert
.
Equal
(
slot
,
muxer
.
HashSlot
(
key
));
}
...
...
StackExchange.Redis.Tests/TestBase.cs
View file @
ae3828de
...
...
@@ -211,11 +211,10 @@ protected IServer GetAnyMaster(ConnectionMultiplexer muxer)
string
clientName
=
null
,
int
?
syncTimeout
=
null
,
bool
?
allowAdmin
=
null
,
int
?
keepAlive
=
null
,
int
?
connectTimeout
=
null
,
string
password
=
null
,
string
tieBreaker
=
null
,
TextWriter
log
=
null
,
bool
fail
=
true
,
string
[]
disabledCommands
=
null
,
string
[]
enabledCommands
=
null
,
bool
checkConnect
=
true
,
bool
pause
=
true
,
string
failMessage
=
null
,
bool
checkConnect
=
true
,
string
failMessage
=
null
,
string
channelPrefix
=
null
,
Proxy
?
proxy
=
null
,
[
CallerMemberName
]
string
caller
=
null
)
{
if
(
pause
)
Thread
.
Sleep
(
250
);
// get a lot of glitches when hammering new socket creations etc; pace it out a bit
string
configuration
=
GetConfiguration
();
var
config
=
ConfigurationOptions
.
Parse
(
configuration
);
if
(
disabledCommands
!=
null
&&
disabledCommands
.
Length
!=
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment