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
7e0b71a9
Commit
7e0b71a9
authored
Sep 01, 2016
by
Marc Gravell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup basic test
parent
b2fd511b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
Program.cs
BasicTest/Program.cs
+1
-1
ConnectionFailedErrors.cs
StackExchange.Redis.Tests/ConnectionFailedErrors.cs
+3
-3
ExceptionFactoryTests.cs
StackExchange.Redis.Tests/ExceptionFactoryTests.cs
+2
-2
StackExchange.Redis.dnx.sln
StackExchange.Redis.dnx.sln
+6
-0
No files found.
BasicTest/Program.cs
View file @
7e0b71a9
...
...
@@ -14,7 +14,7 @@ class Program
{
static
void
Main
(
string
[]
args
)
{
int
AsyncOpsQty
=
1
0000
;
int
AsyncOpsQty
=
50
0000
;
if
(
args
.
Length
==
1
)
{
int
tmp
;
...
...
StackExchange.Redis.Tests/ConnectionFailedErrors.cs
View file @
7e0b71a9
...
...
@@ -85,8 +85,8 @@ public void SocketFailureError()
var
rde
=
(
RedisConnectionException
)
ex
.
InnerException
;
Assert
.
That
(
rde
.
FailureType
,
Is
.
EqualTo
(
ConnectionFailureType
.
SocketFailure
));
}
}
}
#if DEBUG // needs AllowConnect, which is DEBUG only
[
Test
]
public
void
CheckFailureRecovered
()
{
...
...
@@ -117,7 +117,7 @@ public void CheckFailureRecovered()
ClearAmbientFailures
();
}
}
#endif
[
Test
]
public
void
TryGetAzureRoleInstanceIdNoThrow
()
{
...
...
StackExchange.Redis.Tests/ExceptionFactoryTests.cs
View file @
7e0b71a9
...
...
@@ -25,7 +25,7 @@ public void NullSnapshot()
var
ex
=
ExceptionFactory
.
NoConnectionAvailable
(
true
,
new
RedisCommand
(),
null
,
null
,
null
);
Assert
.
Null
(
ex
.
InnerException
);
}
#if DEBUG // needs debug connection features
[
Test
]
public
void
MultipleEndpointsThrowAggregateException
()
{
...
...
@@ -108,6 +108,6 @@ public void ServerTakesPrecendenceOverSnapshot()
}
}
#endif
}
}
StackExchange.Redis.dnx.sln
View file @
7e0b71a9
...
...
@@ -15,6 +15,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
NuGet.Config = NuGet.Config
EndProjectSection
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BasicTest", "BasicTest\BasicTest.xproj", "{939FA5F7-16AA-4847-812B-6EBC3748A86D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
...
...
@@ -33,6 +35,10 @@ Global
{3B8BD8F1-8BFC-4D8C-B4DA-25FFAF3D1DBE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3B8BD8F1-8BFC-4D8C-B4DA-25FFAF3D1DBE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3B8BD8F1-8BFC-4D8C-B4DA-25FFAF3D1DBE}.Release|Any CPU.Build.0 = Release|Any CPU
{939FA5F7-16AA-4847-812B-6EBC3748A86D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{939FA5F7-16AA-4847-812B-6EBC3748A86D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{939FA5F7-16AA-4847-812B-6EBC3748A86D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{939FA5F7-16AA-4847-812B-6EBC3748A86D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
...
...
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