Refactor smoke test

This commit is contained in:
Mikolaj Izdebski 2022-08-25 09:38:51 +02:00
parent f9c075ddb8
commit d8272a83d9

View File

@ -1,8 +1,14 @@
summary: Basic smoke test
discover:
how: shell
tests:
- name: /smoke/log-events
test: |
PATH=/usr/lib/jvm/java-1.8.0-openjdk/bin:${PATH}
javac -cp /usr/share/java/disruptor.jar plans/Smoke.java
java -cp /usr/share/java/disruptor.jar:plans Smoke
prepare:
how: install
package: java-1.8.0-openjdk-devel
execute:
script:
- /usr/lib/jvm/java-1.8.0-openjdk/bin/javac -cp /usr/share/java/disruptor.jar plans/Smoke.java
- /usr/lib/jvm/java-1.8.0-openjdk/bin/java -cp /usr/share/java/disruptor.jar:plans Smoke
how: tmt