"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/test_helper.tcl" between
redis-6.2-rc3.tar.gz and redis-6.2.0.tar.gz

About: redis is an advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

test_helper.tcl  (redis-6.2-rc3):test_helper.tcl  (redis-6.2.0)
skipping to change at line 113 skipping to change at line 113
set ::file ""; # If set, runs only the tests in this comma separated list set ::file ""; # If set, runs only the tests in this comma separated list
set ::curfile ""; # Hold the filename of the current suite set ::curfile ""; # Hold the filename of the current suite
set ::accurate 0; # If true runs fuzz tests with more iterations set ::accurate 0; # If true runs fuzz tests with more iterations
set ::force_failure 0 set ::force_failure 0
set ::timeout 1200; # 20 minutes without progresses will quit the test. set ::timeout 1200; # 20 minutes without progresses will quit the test.
set ::last_progress [clock seconds] set ::last_progress [clock seconds]
set ::active_servers {} ; # Pids of active Redis instances. set ::active_servers {} ; # Pids of active Redis instances.
set ::dont_clean 0 set ::dont_clean 0
set ::wait_server 0 set ::wait_server 0
set ::stop_on_failure 0 set ::stop_on_failure 0
set ::dump_logs 0
set ::loop 0 set ::loop 0
set ::tlsdir "tests/tls" set ::tlsdir "tests/tls"
# Set to 1 when we are running in client mode. The Redis test uses a # Set to 1 when we are running in client mode. The Redis test uses a
# server-client model to run tests simultaneously. The server instance # server-client model to run tests simultaneously. The server instance
# runs the specified number of client instances that will actually run tests. # runs the specified number of client instances that will actually run tests.
# The server is responsible of showing the result to the user, and exit with # The server is responsible of showing the result to the user, and exit with
# the appropriate exit code depending on the test outcome. # the appropriate exit code depending on the test outcome.
set ::client 0 set ::client 0
set ::numclients 16 set ::numclients 16
skipping to change at line 558 skipping to change at line 559
"--timeout <sec> Test timeout in seconds (default 10 min)." "--timeout <sec> Test timeout in seconds (default 10 min)."
"--force-failure Force the execution of a test that always fails." "--force-failure Force the execution of a test that always fails."
"--config <k> <v> Extra config file argument." "--config <k> <v> Extra config file argument."
"--skipfile <file> Name of a file containing test names that should be skipped (one per line)." "--skipfile <file> Name of a file containing test names that should be skipped (one per line)."
"--skiptest <name> Name of a file containing test names that should be skipped (one per line)." "--skiptest <name> Name of a file containing test names that should be skipped (one per line)."
"--dont-clean Don't delete redis log files after the run." "--dont-clean Don't delete redis log files after the run."
"--no-latency Skip latency measurements and validation by some tes ts." "--no-latency Skip latency measurements and validation by some tes ts."
"--stop Blocks once the first test fails." "--stop Blocks once the first test fails."
"--loop Execute the specified set of tests forever." "--loop Execute the specified set of tests forever."
"--wait-server Wait after server is started (so that you can attach a debugger)." "--wait-server Wait after server is started (so that you can attach a debugger)."
"--dump-logs Dump server log on test failure."
"--tls Run tests in TLS mode." "--tls Run tests in TLS mode."
"--host <addr> Run tests against an external host." "--host <addr> Run tests against an external host."
"--port <port> TCP port to use against external host." "--port <port> TCP port to use against external host."
"--baseport <port> Initial port number for spawned redis servers." "--baseport <port> Initial port number for spawned redis servers."
"--portcount <num> Port range for spawned redis servers." "--portcount <num> Port range for spawned redis servers."
"--help Print this help screen." "--help Print this help screen."
} "\n"] } "\n"]
} }
# parse arguments # parse arguments
skipping to change at line 660 skipping to change at line 662
set ::numclients $arg set ::numclients $arg
incr j incr j
} elseif {$opt eq {--durable}} { } elseif {$opt eq {--durable}} {
set ::durable 1 set ::durable 1
} elseif {$opt eq {--dont-clean}} { } elseif {$opt eq {--dont-clean}} {
set ::dont_clean 1 set ::dont_clean 1
} elseif {$opt eq {--no-latency}} { } elseif {$opt eq {--no-latency}} {
set ::no_latency 1 set ::no_latency 1
} elseif {$opt eq {--wait-server}} { } elseif {$opt eq {--wait-server}} {
set ::wait_server 1 set ::wait_server 1
} elseif {$opt eq {--dump-logs}} {
set ::dump_logs 1
} elseif {$opt eq {--stop}} { } elseif {$opt eq {--stop}} {
set ::stop_on_failure 1 set ::stop_on_failure 1
} elseif {$opt eq {--loop}} { } elseif {$opt eq {--loop}} {
set ::loop 1 set ::loop 1
} elseif {$opt eq {--timeout}} { } elseif {$opt eq {--timeout}} {
set ::timeout $arg set ::timeout $arg
incr j incr j
} elseif {$opt eq {--help}} { } elseif {$opt eq {--help}} {
print_help_screen print_help_screen
exit 0 exit 0
 End of changes. 3 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)