diff --git a/lib/OpenQA/Task/Git/Clone.pm b/lib/OpenQA/Task/Git/Clone.pm index 6e10b21d050..08642399b4b 100644 --- a/lib/OpenQA/Task/Git/Clone.pm +++ b/lib/OpenQA/Task/Git/Clone.pm @@ -65,7 +65,9 @@ sub _git_clone ($app, $job, $ctx, $path, $url) { my $origin_url = $git->get_origin_url; if ($url ne $origin_url) { - $ctx->warn("Local checkout at $path has origin $origin_url but requesting to clone from $url"); + $ctx->info( +"Local checkout at $path has origin $origin_url but requesting to clone from $url. Be aware that the requested URL will not be cloned. This is fine.🔥" + ); return; } } diff --git a/t/14-grutasks-git.t b/t/14-grutasks-git.t index 909fa330e19..d19840be022 100644 --- a/t/14-grutasks-git.t +++ b/t/14-grutasks-git.t @@ -36,7 +36,7 @@ my $mojo_port = Mojo::IOLoop::Server->generate_port; my $webapi = OpenQA::Test::Utils::create_webapi($mojo_port, sub { }); # prevent writing to a log file to enable use of combined_like in the following tests -$t->app->log(Mojo::Log->new(level => 'warn')); +$t->app->log(Mojo::Log->new(level => 'info')); subtest 'git clone' => sub { my $openqa_git = Test::MockModule->new('OpenQA::Git');