Skip to content

Commit 29c033a

Browse files
committed
removed Test code used reflection for argLine =ALL-UNNAMED
1 parent 8bfefec commit 29c033a

5 files changed

Lines changed: 22 additions & 233 deletions

File tree

core/src/test/java/org/jsmart/zerocode/core/runner/ZeroCodeUnitRuntimeAnnoTest.java

Lines changed: 0 additions & 225 deletions
This file was deleted.

pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -351,14 +351,6 @@
351351
<groupId>org.apache.maven.plugins</groupId>
352352
<artifactId>maven-surefire-plugin</artifactId>
353353
<version>${maven-surefire-plugin.version}</version>
354-
<configuration>
355-
<!-- Required on Java 17+: zerocode tests mutate annotations at runtime
356-
via deep reflection into java.lang and java.lang.reflect internals -->
357-
<argLine>
358-
--add-opens java.base/java.lang=ALL-UNNAMED
359-
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
360-
</argLine>
361-
</configuration>
362354
</plugin>
363355
<plugin>
364356
<groupId>org.apache.maven.plugins</groupId>

start.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
set -e
3+
4+
echo "Starting Kafka (schema-registry-m3)..."
5+
docker compose -f docker/compose/kafka-schema-registry-m3.yml up -d
6+
7+
echo "Starting PostgreSQL..."
8+
docker compose -f docker/compose/pg_compose.yml up -d
9+
10+
echo "Waiting for services to be ready..."
11+
sleep 10
12+
13+
echo "All services started."

stop.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
echo "Stopping Kafka (schema-registry-m3)..."
4+
docker compose -f docker/compose/kafka-schema-registry-m3.yml down
5+
6+
echo "Stopping PostgreSQL..."
7+
docker compose -f docker/compose/pg_compose.yml down
8+
9+
echo "All services stopped."

0 commit comments

Comments
 (0)