Unverified Commit c70b7685 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3486481 by mxr576, berdir: Recipe install command prints out to stdout...

Issue #3486481 by mxr576, berdir: Recipe install command prints out to stdout and not error, but RecipeTestTrait::applyRecipe() only prints out error output
parent 71976f38
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ protected function applyRecipe(string $path, int $expected_exit_code = 0, array
      ->setTimeout(500);

    $process->run();
    $this->assertSame($expected_exit_code, $process->getExitCode(), $process->getErrorOutput());
    $this->assertSame($expected_exit_code, $process->getExitCode(), sprintf("Process exit code mismatch.\nExpected: %d\nActual: %d\n\nSTDOUT:\n%s\n\nSTDERR:\n%s", $expected_exit_code, $process->getExitCode(), $process->getOutput(), $process->getErrorOutput()));
    // Applying a recipe:
    // - creates new checkpoints, hence the "state" service in the test runner
    //   is outdated