summaryrefslogtreecommitdiff
path: root/runtest
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2023-02-09 13:57:19 +0800
committerGitHub <noreply@github.com>2023-02-09 07:57:19 +0200
commit66bed3f220d3ae73449b6b9f89ae616e42eff2e4 (patch)
treef20e7162ad88abc90848e495307fd84c31e26fa1 /runtest
parentf3c6f9c2f44a7baf14de0f98b2b89c5c6c2781ba (diff)
downloadredis-66bed3f220d3ae73449b6b9f89ae616e42eff2e4.tar.gz
When DEBUG LOADAOF fails, return an error instead of exiting (#11790)
Return an error when loadAppendOnlyFiles fails instead of exiting. DEBUF LOADAOF command is only meant to be used by the test suite, and only by tests that generated an AOF file first. So this change is ok (considering that the caller is likely to catch this error and die). This actually revert part of the code in #9012, and now DEBUG LOADAOF behaves the same as DEBUG RELOAD (returns an error when the load fails). Plus remove a `after 2000` in a test, which can save times (looks like copy paste error).
Diffstat (limited to 'runtest')
0 files changed, 0 insertions, 0 deletions