Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
edd7eb9b
Commit
edd7eb9b
authored
Dec 10, 2012
by
Marc-Antoine Perennou
Browse files
test-server: only listen to 127.0.0.1
Signed-off-by:
Marc-Antoine Perennou
<
Marc-Antoine@Perennou.com
>
parent
dfc98dcc
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/assets/default.conf
View file @
edd7eb9b
...
@@ -5,6 +5,7 @@ daemonize no
...
@@ -5,6 +5,7 @@ daemonize no
pidfile
/
var
/
run
/
redis
.
pid
pidfile
/
var
/
run
/
redis
.
pid
port
6379
port
6379
timeout
0
timeout
0
bind
127
.
0
.
0
.
1
loglevel
verbose
loglevel
verbose
logfile
''
logfile
''
databases
16
databases
16
...
...
tests/test_helper.tcl
View file @
edd7eb9b
...
@@ -186,7 +186,7 @@ proc test_server_main {} {
...
@@ -186,7 +186,7 @@ proc test_server_main {} {
if
{
!$::quiet
}
{
if
{
!$::quiet
}
{
puts
"Starting test server at port
$port
"
puts
"Starting test server at port
$port
"
}
}
socket -server accept_test_clients $port
socket -server accept_test_clients
-myaddr 127.0.0.1
$port
# Start the client instances
# Start the client instances
set ::clients_pids
{}
set ::clients_pids
{}
...
...
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