Rework SingleFeatureTest 25/97725/39
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>
Thu, 11 Jan 2024 16:21:37 +0000 (18:21 +0200)
committerRobert Varga <nite@hq.sk>
Sun, 28 Jan 2024 19:46:04 +0000 (19:46 +0000)
commitf5151d8b9deaed4de3d05d3195cc15cf8cd1335a
treefc2d2769fcbd8b34880a4da2105f7ce72eec5362
parent2a2430c6e10143084829f1d75558105513ac913f
Rework SingleFeatureTest

SingleFeatureTest needs protection from concurrent exection by default.
We just cannot assume the spawned container does not allocate global
resources, like listening on all IP addresses' specific port.

Features that are known to be safe can define sft.concurrent to enable
concurrent execution, otherwise each executing Maven reactor will ensure
testing executes in at most a single reactor.

JIRA: ODLPARENT-262
Change-Id: Ib26b4ac55f4bc689a9f459f6e296df65a75ef645
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
15 files changed:
features-test-plugin-it/pom.xml [new file with mode: 0644]
features-test-plugin-it/src/it/simple-bundle/pom.xml [new file with mode: 0644]
features-test-plugin-it/src/it/test-dependency/pom.xml [new file with mode: 0644]
features-test-plugin-it/src/it/test-feature-parent/pom.xml [new file with mode: 0644]
features-test-plugin/pom.xml [new file with mode: 0644]
features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/DependencyResolver.java [new file with mode: 0644]
features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/DependencyUtils.java [new file with mode: 0644]
features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/FeatureDependency.java [new file with mode: 0644]
features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/PaxExamExecution.java [new file with mode: 0644]
features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/PaxOptionUtils.java [new file with mode: 0644]
features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/TestFeaturesMojo.java [new file with mode: 0644]
features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/TestProbe.java [new file with mode: 0644]
features-test-plugin/src/main/resources/versions [new file with mode: 0644]
odlparent-artifacts/pom.xml
pom.xml