Onboard log4j into gating
Related: rhbz#2054990
This commit is contained in:
parent
c7a36cb106
commit
8f2b09c171
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
7
gating.yaml
Normal file
7
gating.yaml
Normal 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
11
plans/Smoke.java
Normal 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
8
plans/smoke.fmf
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user