From 595a2315f63a64eb178fb46df42375809e1e0f1f Mon Sep 17 00:00:00 2001 From: malavan Date: Wed, 10 Nov 2021 20:46:09 +0000 Subject: [PATCH] ignore rdb specific tests when running in --flash mode Former-commit-id: b44ba3efb21c390c3d199ea1cdd238a57611fd85 --- tests/integration/rdb-repl-tests | 4 ++++ tests/test_helper.tcl | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 tests/integration/rdb-repl-tests diff --git a/tests/integration/rdb-repl-tests b/tests/integration/rdb-repl-tests new file mode 100644 index 000000000..257d107f6 --- /dev/null +++ b/tests/integration/rdb-repl-tests @@ -0,0 +1,4 @@ +diskless no replicas drop during rdb pipe +diskless slow replicas drop during rdb pipe +diskless timeout replicas drop during rdb pipe +Kill rdb child process if its dumping RDB is not useful \ No newline at end of file diff --git a/tests/test_helper.tcl b/tests/test_helper.tcl index f9ca7107b..2e200c35a 100644 --- a/tests/test_helper.tcl +++ b/tests/test_helper.tcl @@ -704,6 +704,10 @@ for {set j 0} {$j < [llength $argv]} {incr j} { integration/replication-4 integration/replication-psync } + set fp [open {./tests/integration/rdb-repl-tests} r] + set file_data [read $fp] + close $fp + set ::skiptests [split $file_data "\n"] } else { puts "Wrong argument: $opt" exit 1