Skip to content

Commit 7951698

Browse files
committed
fix(experiment/regs-safe.sh): Fix log as well
rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED
1 parent 91fb674 commit 7951698

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

experiment/regs-safe.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ opts_adhoc="$opts"
3434

3535
section 'Checking environment'
3636
generic_environment_check
37+
# set +e
3738

3839

3940
export skip_measurement=true
@@ -350,7 +351,7 @@ concurrent_registrations_per_container_host="$(( expected_concurrent_registratio
350351
real_concurrent_registrations="$(( concurrent_registrations_per_container_host * number_container_hosts ))"
351352
registration_iterations="$(( ( total_number_containers + real_concurrent_registrations - 1 ) / real_concurrent_registrations ))" # We want ceiling rounding: Ceiling( X / Y ) = ( X + Y – 1 ) / Y
352353

353-
log "Going to register $total_number_containers hosts: $concurrent_registrations_per_container_host hosts per container host ($number_container_hosts available) in $(( registration_iterations + 1 )) batches."
354+
log "Going to register $total_number_containers hosts: $concurrent_registrations_per_container_host hosts per container host ($number_container_hosts available) in $registration_iterations batches."
354355

355356
for (( i=initial_batch; i <= registration_iterations; i++ )); do
356357
ap "70-register-$i.log" \

0 commit comments

Comments
 (0)