From 9c280e0654e8b59b87823cadbc37ca7f7c236e1c Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 29 Jun 2023 09:49:05 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- gating.yaml | 6 ++++ tests/pom.xml | 92 +++++++++++++++++++++++++++++++++++++++++++++++++ tests/tests.yml | 15 ++++++++ 3 files changed, 113 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/pom.xml create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6985029 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/pom.xml b/tests/pom.xml new file mode 100644 index 0000000..a61e35b --- /dev/null +++ b/tests/pom.xml @@ -0,0 +1,92 @@ + + + pom + 4.0.0 + + io.prometheus + parent-tests + 0.6.0 + + Prometheus Java Suite (Tests) + http://github.com/prometheus/client_java + + + + junit + junit + 4.10 + test + + + io.prometheus + simpleclient + 0.6.0 + test + + + io.prometheus + simpleclient + 0.6.0 + tests + test + + + io.prometheus + simpleclient_common + 0.6.0 + test + + + io.prometheus + simpleclient_common + 0.6.0 + tests + test + + + io.prometheus + simpleclient_hotspot + 0.6.0 + test + + + io.prometheus + simpleclient_hotspot + 0.6.0 + tests + test + + + io.prometheus + simpleclient_httpserver + 0.6.0 + test + + + io.prometheus + simpleclient_httpserver + 0.6.0 + tests + test + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.15 + + + io.prometheus:simpleclient + io.prometheus:simpleclient_common + io.prometheus:simpleclient_hotspot + io.prometheus:simpleclient_httpserver + + + + + + + diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..617e462 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,15 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + required_packages: + - prometheus-simpleclient-java + - prometheus-simpleclient-java-tests + - maven-local + + tests: + - xmvn_installed_rpm_surefire: + dir: . + run: "xmvn surefire:test"