Onboard log4j into gating

Related: rhbz#2054990
This commit is contained in:
Mikolaj Izdebski 2022-02-22 04:08:56 +01:00
parent c7a36cb106
commit 8f2b09c171
4 changed files with 27 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_contexts:
- osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

11
plans/Smoke.java Normal file
View File

@ -0,0 +1,11 @@
import org.apache.logging.log4j.*;
public class Smoke
{
public static void main(String[] args)
{
Logger log = LogManager.getLogger(Smoke.class);
log.error("Hello from Log4J");
System.out.println("SMOKE TEST COMPLETE");
}
}

8
plans/smoke.fmf Normal file
View File

@ -0,0 +1,8 @@
summary: Basic smoke test
prepare:
how: install
package: java-devel
execute:
script:
- javac -cp /usr/share/java/log4j/log4j-api.jar plans/Smoke.java
- java -cp /usr/share/java/log4j/log4j-api.jar:/usr/share/java/log4j/log4j-core.jar:plans Smoke