Skip to content

Commit

Permalink
Log impacted features
Browse files Browse the repository at this point in the history
This is helpful in CI to understand the context on how tests are
executed.

Impacted features are passed as a log file and then they are passed from
suite to test run, so logging them here make sure if everything is
passed correctly.
  • Loading branch information
kokosing committed Mar 14, 2023
1 parent 068f911 commit 58d6356
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ public Execution(EnvironmentFactory environmentFactory, EnvironmentOptions envir
if (impactedFeaturesFile.isPresent()) {
try {
this.impactedFeatures = Optional.of(Files.asCharSource(impactedFeaturesFile.get(), StandardCharsets.UTF_8).readLines());
log.info("Impacted features: %s", this.impactedFeatures);
}
catch (IOException e) {
throw new RuntimeException(e);
Expand Down

0 comments on commit 58d6356

Please sign in to comment.