Update tests.yml to expect JSON output from getStatus
* Also fix rpmlint issue with hardcoded path Resolves: #1935985
This commit is contained in:
parent
abd85088fd
commit
9c1ad555db
2
jss.spec
2
jss.spec
@ -34,7 +34,7 @@ Source: https://github.com/dogtagpki/%{name}/archive/v%{version}%{?_phas
|
|||||||
|
|
||||||
%define java_devel java-11-openjdk-devel
|
%define java_devel java-11-openjdk-devel
|
||||||
%define java_headless java-11-openjdk-headless
|
%define java_headless java-11-openjdk-headless
|
||||||
%define java_home /usr/lib/jvm/jre-11-openjdk
|
%define java_home %{_jvmdir}/jre-11-openjdk
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Build Options
|
# Build Options
|
||||||
|
@ -8,10 +8,10 @@
|
|||||||
tests:
|
tests:
|
||||||
- verify_spawn_ca:
|
- verify_spawn_ca:
|
||||||
dir: .
|
dir: .
|
||||||
run: "curl http://localhost:8080/ca/admin/ca/getStatus | grep '<Status>running</Status>'"
|
run: "curl http://localhost:8080/ca/admin/ca/getStatus | grep '\"Status\" : \"running\"'"
|
||||||
- verify_spawn_kra:
|
- verify_spawn_kra:
|
||||||
dir: .
|
dir: .
|
||||||
run: "curl http://localhost:8080/kra/admin/kra/getStatus | grep '<Status>running</Status>'"
|
run: "curl http://localhost:8080/kra/admin/kra/getStatus | grep '\"Status\" : \"running\"'"
|
||||||
- destroy_kra:
|
- destroy_kra:
|
||||||
dir: .
|
dir: .
|
||||||
run: "pkidestroy -i pki-tomcat -s KRA && sleep 5"
|
run: "pkidestroy -i pki-tomcat -s KRA && sleep 5"
|
||||||
|
Loading…
Reference in New Issue
Block a user