Skip to content

Commit b5e5245

Browse files
authored
Updated developer test scripts (#1085)
Signed-off-by: dhoard <[email protected]>
1 parent 3822110 commit b5e5245

File tree

4 files changed

+32
-4
lines changed

4 files changed

+32
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dependency-reduced-pom.xml
1313
pom.xml.versionsBackup
1414
integration_test_suite/integration_tests/src/test/resources/common/**.jar
1515
**/.hugo_build.lock
16+
quick-test.log
1617
smoke-test.log
1718
regression-test.log
1819
RELEASE

quick-test.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/bash
2+
3+
#
4+
# Copyright (C) 2022-2023 The Prometheus jmx_exporter Authors
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
19+
#
20+
# Bash script to build, package, and run the tests (single Docker container)
21+
#
22+
23+
(
24+
export JAVA_DOCKER_IMAGES="eclipse-temurin:21-alpine"
25+
export PROMETHEUS_DOCKER_IMAGES="prom/prometheus:v3.0.1"
26+
docker pull "$JAVA_DOCKER_IMAGES"
27+
docker pull "$PROMETHEUS_DOCKER_IMAGES"
28+
./mvnw clean verify
29+
) 2>&1 | tee quick-test.log

regression-test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
#
1818

1919
#
20-
# Bash script to build, package, and run the integration
21-
# test suite continuously until there is a failure
20+
# Bash script to build, package, and run the regression tests (all Docker containers)
2221
#
2322

2423
(

smoke-test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
#
1818

1919
#
20-
# Bash script to build, package, and run the integration
21-
# test suite continuously until there is a failure
20+
# Bash script to build, package, and run the smoke tests (smoke test Docker containers)
2221
#
2322

2423
(

0 commit comments

Comments
 (0)