mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 06:17:27 -08:00
fix TestFailedStartupExitCode (#5076)
Signed-off-by: rleungx <rleungx@gmail.com>
This commit is contained in:
parent
22a1def98d
commit
45c8b084c6
|
@ -163,6 +163,10 @@ func TestComputeExternalURL(t *testing.T) {
|
|||
|
||||
// Let's provide an invalid configuration file and verify the exit status indicates the error.
|
||||
func TestFailedStartupExitCode(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("skipping test in short mode.")
|
||||
}
|
||||
|
||||
fakeInputFile := "fake-input-file"
|
||||
expectedExitStatus := 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue