File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
spec/acceptance/peadm_spec/plans Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 1414 $backup_file = run_plan(' peadm::backup' , $old_primary_host , {
1515 backup_type => ' migration' ,
1616 })
17- out::message(" Backup file: ${backup_file} " )
18- out::message(" Backup file path: ${backup_file['path']}" )
19- $down_results = download_file($backup_file [' path' ], ' backup' , $old_primary_host )
20- out::message(" Download results: ${down_results} " )
21- $download_path = $down_results [0][' path' ]
2217
23- out::message(" Download path: ${download_path} " )
18+ $download_results = download_file($backup_file [' path' ], ' backup' , $old_primary_host )
19+ $download_path = $download_results [0][' path' ]
20+
2421 $backup_filename = basename($backup_file [' path' ])
2522 $remote_backup_path = " /tmp/${backup_filename} "
26- $current_dir = system::env(' PWD' )
27- out::message("backup_filename: ${backup_filename} " )
28- out::message(" remote_backup_path: ${remote_backup_path} " )
29- out::message(" current_dir: ${current_dir} " )
3023
3124 upload_file($download_path , $remote_backup_path , $new_primary_host )
3225
Original file line number Diff line number Diff line change 5656 }
5757
5858 # get the config from new_primary_target and verify config looks as expected
59- $result = run_task(' peadm::get_peadm_config' , $new_primary_target , ' _catch_errors' => true ).first.to_data()
60- out::message("peadm_config: ${result } " )
59+ $peadm_config = run_task(' peadm::get_peadm_config' , $new_primary_target , ' _catch_errors' => true ).first.to_data()
60+ out::message("peadm_config: ${peadm_config } " )
6161 # if new_replica_target is supplied then check that is in the expected place in the config
6262 if $new_replica_target {
6363 if $peadm_config ['params']['replica_host'] == $new_replica_target {
You can’t perform that action at this time.
0 commit comments