From d8539a3bf0c2dca959582b11b831fabc89a5b193 Mon Sep 17 00:00:00 2001 From: Lucas Bustamante Date: Mon, 5 Feb 2024 10:59:09 -0300 Subject: [PATCH] Allow retry on get request --- src/src/Commands/GetCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/src/Commands/GetCommand.php b/src/src/Commands/GetCommand.php index f8f880ab..e8b01edb 100644 --- a/src/src/Commands/GetCommand.php +++ b/src/src/Commands/GetCommand.php @@ -32,6 +32,7 @@ protected function execute( InputInterface $input, OutputInterface $output ): in ->with_post_body( [ 'test_run_id' => $input->getArgument( 'test_run_id' ), ] ) + ->with_retry( 3 ) ->request(); } catch ( \Exception $e ) { $output->writeln( "{$e->getMessage()}" );