Skip to content

Commit

Permalink
improve error output
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Jan 15, 2025
1 parent 8e772aa commit 565df03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- uses: actions/checkout@v4
- uses: eclipse-edc/.github/.github/actions/setup-build@main
- name: Postgresql Tests
run: ./gradlew test -DincludeTags="PostgresqlIntegrationTest"
run: ./gradlew test -DincludeTags="PostgresqlIntegrationTest" -PverboseTest=true

End-To-End-Tests:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void boot(boolean addShutdownHook) {
throw new EdcException("Failed to start EDC runtime", runtimeThrowable.get());
}
} catch (InterruptedException e) {
throw new EdcException("Failed to start EDC runtime", runtimeThrowable.get());
throw new EdcException("Failed to start EDC runtime: interrupted", runtimeThrowable.get());
}

monitor.info("Runtime %s started".formatted(name));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@
import org.junit.jupiter.api.extension.BeforeAllCallback;
import org.junit.jupiter.api.extension.ExtensionContext;

import static java.util.Collections.emptyMap;

/**
* Spin up a static runtime to be used for multiple tests
*/
public class RuntimePerClassExtension extends RuntimeExtension implements BeforeAllCallback, AfterAllCallback {

public RuntimePerClassExtension() {
this(new EmbeddedRuntime("runtime", emptyMap()));
this(new EmbeddedRuntime("runtime"));
}

public RuntimePerClassExtension(EmbeddedRuntime runtime) {
Expand Down

0 comments on commit 565df03

Please sign in to comment.