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
afe383f3
Commit
afe383f3
authored
Aug 03, 2018
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: Time(): standardize format to include ms
parent
9e470ef6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
BasicOps.cs
StackExchange.Redis.Tests/BasicOps.cs
+0
-1
TextWriterOutputHelper.cs
StackExchange.Redis.Tests/Helpers/TextWriterOutputHelper.cs
+1
-1
TestBase.cs
StackExchange.Redis.Tests/TestBase.cs
+1
-1
No files found.
StackExchange.Redis.Tests/BasicOps.cs
View file @
afe383f3
...
...
@@ -284,7 +284,6 @@ public void GetWithExpiryWrongTypeSync()
[
Fact
]
public
async
Task
TestQuit
()
{
string
Time
()
=>
DateTime
.
UtcNow
.
ToString
(
"HH:mm:ss.fff"
);
SetExpectedAmbientFailureCount
(
1
);
using
(
var
muxer
=
Create
(
allowAdmin
:
true
))
{
...
...
StackExchange.Redis.Tests/Helpers/TextWriterOutputHelper.cs
View file @
afe383f3
...
...
@@ -17,7 +17,7 @@ public override void WriteLine(string value)
{
try
{
base
.
Write
(
DateTime
.
UtcNow
.
ToString
(
"HH:mm:ss.fff"
));
base
.
Write
(
TestBase
.
Time
(
));
base
.
Write
(
": "
);
base
.
WriteLine
(
value
);
}
...
...
StackExchange.Redis.Tests/TestBase.cs
View file @
afe383f3
...
...
@@ -83,7 +83,7 @@ static TestBase()
}
};
}
private
string
Time
()
=>
DateTime
.
UtcNow
.
ToString
(
"T
"
);
internal
static
string
Time
()
=>
DateTime
.
UtcNow
.
ToString
(
"HH:mm:ss.fff
"
);
protected
void
OnConnectionFailed
(
object
sender
,
ConnectionFailedEventArgs
e
)
{
Interlocked
.
Increment
(
ref
privateFailCount
);
...
...
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