Skip to content

Commit 773337a

Browse files
sarthakaggarwal97zuiderkwast
authored andcommitted
Try to stabilize aof test (#2399)
Based on @enjoy-binbin's suggestion on #1611, I made the change to find the available port. The test has been passing in the daily tests in my local repo. Resolved #1611 Signed-off-by: Sarthak Aggarwal <[email protected]>
1 parent feaacf5 commit 773337a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/aof.tcl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,9 +689,10 @@ tags {"aof cluster external:skip"} {
689689
append_to_manifest "file appendonly.aof.1.incr.aof seq 1 type i\n"
690690
}
691691

692-
start_server_aof [list dir $server_path cluster-enabled yes] {
692+
start_server_aof [list dir $server_path cluster-enabled yes cluster-port [find_available_port $::baseport $::portcount]] {
693693
assert_equal [r ping] {PONG}
694694
}
695+
clean_aof_persistence $aof_dirpath
695696
}
696697

697698
test {Test command check in aof won't crash} {

0 commit comments

Comments
 (0)