You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 87f622b
Browse filesBrowse the repository at this point in the historyBrowse files
feat: add Docker/Podman test utilities for conditional test execution
Add new test-utils-docker module with @RequiresDocker annotation for
conditional execution of container-based tests.
Features:
- Detects both Docker and Podman availability
- Fails tests when containers unavailable (clear error message)
- Skips tests with -DskipDockerTests=true system property
- Modules always compile regardless of container availability
- No Testcontainers dependency (avoids classpath conflicts)
Applied to:
- extras/queue-manager-replicated/tests-single-instance
- extras/queue-manager-replicated/tests-multi-instance/tests
Copy file name to clipboardExpand all lines: extras/queue-manager-replicated/tests-multi-instance/tests/src/test/java/io/a2a/extras/queuemanager/replicated/tests/multiinstance/MultiInstanceReplicationTest.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@
31
31
importio.a2a.spec.TaskQueryParams;
32
32
importio.a2a.spec.TaskState;
33
33
importio.a2a.spec.TransportProtocol;
34
+
importio.a2a.testutils.docker.RequiresDocker;
34
35
importorg.junit.jupiter.api.AfterAll;
35
36
importorg.junit.jupiter.api.AfterEach;
36
37
importorg.junit.jupiter.api.BeforeAll;
@@ -47,14 +48,15 @@
47
48
/**
48
49
* Multi-instance replication test that validates event queue replication
49
50
* between two running Quarkus instances using Testcontainers.
50
-
*
51
+
*
51
52
* Test Architecture:
52
53
* - Shared KafkaContainer for event replication
53
54
* - Shared PostgreSQLContainer for task persistence
54
55
* - Two Quarkus application containers (app1 on 8081, app2 on 8082)
55
56
* - A2A Client instances to interact with both applications
Copy file name to clipboardExpand all lines: extras/queue-manager-replicated/tests-single-instance/src/test/java/io/a2a/extras/queuemanager/replicated/tests/KafkaReplicationIntegrationTest.java
Copy file name to clipboardExpand all lines: extras/queue-manager-replicated/tests-single-instance/src/test/java/io/a2a/extras/queuemanager/replicated/tests/ReplicatedQueueManagerTest.java
0 commit comments