Skip to content

Commit

Permalink
Updated developer test scripts (#1085)
Browse files Browse the repository at this point in the history
Signed-off-by: dhoard <[email protected]>
  • Loading branch information
dhoard authored Dec 5, 2024
1 parent 3822110 commit b5e5245
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependency-reduced-pom.xml
pom.xml.versionsBackup
integration_test_suite/integration_tests/src/test/resources/common/**.jar
**/.hugo_build.lock
quick-test.log
smoke-test.log
regression-test.log
RELEASE
29 changes: 29 additions & 0 deletions quick-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash

#
# Copyright (C) 2022-2023 The Prometheus jmx_exporter Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

#
# Bash script to build, package, and run the tests (single Docker container)
#

(
export JAVA_DOCKER_IMAGES="eclipse-temurin:21-alpine"
export PROMETHEUS_DOCKER_IMAGES="prom/prometheus:v3.0.1"
docker pull "$JAVA_DOCKER_IMAGES"
docker pull "$PROMETHEUS_DOCKER_IMAGES"
./mvnw clean verify
) 2>&1 | tee quick-test.log
3 changes: 1 addition & 2 deletions regression-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
#

#
# Bash script to build, package, and run the integration
# test suite continuously until there is a failure
# Bash script to build, package, and run the regression tests (all Docker containers)
#

(
Expand Down
3 changes: 1 addition & 2 deletions smoke-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
#

#
# Bash script to build, package, and run the integration
# test suite continuously until there is a failure
# Bash script to build, package, and run the smoke tests (smoke test Docker containers)
#

(
Expand Down

0 comments on commit b5e5245

Please sign in to comment.