@@ -66,6 +66,7 @@ def __init__(
6666 self .expect_instances = expect_instances
6767 self .expect_instances .sort ()
6868 self .cfg = copy .deepcopy (basecfg )
69+ self .old_version = self .cfg .version
6970 self .default_starter_args = self .cfg .default_starter_args .copy ()
7071 if moreopts is None :
7172 self .moreopts = []
@@ -708,7 +709,7 @@ def replace_binary_for_upgrade(self, new_install_cfg, relaunch=True):
708709 logging .info ("StarterManager: respawned instance as [%s]" , str (self .instance .pid ))
709710 self .cfg = new_install_cfg
710711 self .arangosh = None
711- self .detect_arangosh_instances (new_install_cfg , old_version )
712+ self .detect_arangosh_instances (new_install_cfg , self . old_version )
712713
713714 @step
714715 def kill_specific_instance (self , which_instances ):
@@ -1101,7 +1102,7 @@ def detect_instance_pids(self):
11011102 )
11021103
11031104 self .show_all_instances ()
1104- self .detect_arangosh_instances (self .cfg , self .cfg . version )
1105+ self .detect_arangosh_instances (self .cfg , self .old_version )
11051106
11061107 @step
11071108 def detect_fatal_errors (self ):
@@ -1369,7 +1370,7 @@ def run_starter(self, expect_to_fail=False):
13691370
13701371 @step
13711372 def detect_instances (self ):
1372- self .detect_arangosh_instances (self .cfg , self .cfg . version )
1373+ self .detect_arangosh_instances (self .cfg , self .old_version )
13731374
13741375 @step
13751376 def detect_instance_pids (self ):
0 commit comments