Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RuboCop LineContinuationSpacing offense #165

Merged
merged 1 commit into from
Nov 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lib/engines/hcktest/hcktest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ def run_and_configure_setup
configure_setup_and_synchronize
rescue AutoHCKError => e
synchronize_clients(exit: true)
@project.logger.warn("Running and configuring setup failed: (#{e.class}) "\
"#{e.message}")
@project.logger.warn("Running and configuring setup failed: (#{e.class}) #{e.message}")
raise e unless (retries += 1) < AUTOHCK_RETRIES

clean_last_run_machines
Expand Down
3 changes: 1 addition & 2 deletions lib/engines/hcktest/targets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ def add_target_to_project

@logger.info("Reconfiguring client #{@machine}...")
@client.reconfigure_machine
@logger.info("Trying again to add target #{@name} on #{@machine} to "\
"project #{tag}")
@logger.info("Trying again to add target #{@name} on #{@machine} to project #{tag}")
retry
end

Expand Down
6 changes: 2 additions & 4 deletions lib/engines/hcktest/tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,7 @@ def info_page(test)
end

def on_test_start(test)
@logger.info('>>> Currently running: '\
"#{test['name']} [#{test['estimatedruntime']}]")
@logger.info(">>> Currently running: #{test['name']} [#{test['estimatedruntime']}]")

@tests_extra[test['id']]['started_at'] = DateTime.now
@tests_extra[test['id']]['status'] = nil
Expand All @@ -181,8 +180,7 @@ def on_test_start(test)

def print_tests_stats
stats = tests_stats
@logger.info("<<< Passed: #{stats['passed']} | Failed: #{stats['failed']} | "\
"InQueue: #{stats['inqueue']}")
@logger.info("<<< Passed: #{stats['passed']} | Failed: #{stats['failed']} | InQueue: #{stats['inqueue']}")
end

def print_test_results(test)
Expand Down