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
ad22f655
Commit
ad22f655
authored
Jul 10, 2018
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: fixes and debug info
parent
31d9a8c9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Scripting.cs
StackExchange.Redis.Tests/Booksleeve/Scripting.cs
+1
-0
Keys.cs
StackExchange.Redis.Tests/Keys.cs
+1
-1
No files found.
StackExchange.Redis.Tests/Booksleeve/Scripting.cs
View file @
ad22f655
...
...
@@ -333,6 +333,7 @@ public void ChangeDbInScript()
muxer
.
GetDatabase
(
1
).
StringSet
(
key
,
"db 1"
);
muxer
.
GetDatabase
(
2
).
StringSet
(
key
,
"db 2"
);
Output
.
WriteLine
(
"Key: "
+
key
);
var
conn
=
muxer
.
GetDatabase
(
2
);
var
evalResult
=
conn
.
ScriptEvaluateAsync
(
@"redis.call('select', 1)
return redis.call('get','"
+
key
+
"')"
,
null
,
null
);
...
...
StackExchange.Redis.Tests/Keys.cs
View file @
ad22f655
...
...
@@ -18,7 +18,7 @@ public void TestScan()
var
db
=
muxer
.
GetDatabase
(
dbId
);
var
server
=
GetAnyMaster
(
muxer
);
var
prefix
=
Me
();
server
.
FlushDatabase
(
flags
:
CommandFlags
.
FireAndForget
);
server
.
FlushDatabase
(
dbId
,
flags
:
CommandFlags
.
FireAndForget
);
const
int
Count
=
1000
;
for
(
int
i
=
0
;
i
<
Count
;
i
++)
...
...
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