Skip to content

Commit 09dc4a1

Browse files
committed
Extend one of the existing test to print the environment variables
1 parent 6ba93b0 commit 09dc4a1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

containers/pax-exam-container-forked/src/test/java/org/ops4j/pax/exam/forked/ForkedTestContainerFactoryTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ public static class ClasspathTestActivator implements BundleActivator {
146146

147147
@Override
148148
public void start(BundleContext bc) throws Exception {
149+
System.out.println("PRINT_ENVIRONMENT_VARIABLES");
150+
System.getenv().forEach((key, value) -> System.out.printf("%s=%s%n", key, value));
151+
149152
Class<?> clazz = getClass().getClassLoader().loadClass(className);
150153

151154
if (clazz == null) {

0 commit comments

Comments
 (0)