Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
Django-Redis-Cache
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared
Django-Redis-Cache
Commits
f02a00e8
Commit
f02a00e8
authored
Jul 17, 2015
by
Sean Bleier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a bad find/replace.
parent
f113c698
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
master_slave_tests.py
tests/testapp/tests/master_slave_tests.py
+5
-5
No files found.
tests/testapp/tests/master_slave_tests.py
View file @
f02a00e8
...
...
@@ -11,11 +11,11 @@ from redis_cache.connection import pool
from
tests.testapp.tests.base_tests
import
SetupMixin
MASTER_LOCATION
=
"127.0.0.
2
:6387"
MASTER_LOCATION
=
"127.0.0.
1
:6387"
LOCATIONS
=
[
'127.0.0.
2
:6387'
,
'127.0.0.
2
:6388'
,
'127.0.0.
2
:6389'
,
'127.0.0.
1
:6387'
,
'127.0.0.
1
:6388'
,
'127.0.0.
1
:6389'
,
]
...
...
@@ -43,7 +43,7 @@ class MasterSlaveTestCase(SetupMixin, TestCase):
client
=
cache
.
master_client
self
.
assertEqual
(
client
.
connection_pool
.
connection_identifier
,
(
'127.0.0.
2
'
,
6387
,
1
,
None
)
(
'127.0.0.
1
'
,
6387
,
1
,
None
)
)
self
.
assertEqual
(
len
(
pool
.
_connection_pools
),
3
)
...
...
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