mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -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.
|
// Let's provide an invalid configuration file and verify the exit status indicates the error.
|
||||||
func TestFailedStartupExitCode(t *testing.T) {
|
func TestFailedStartupExitCode(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("skipping test in short mode.")
|
||||||
|
}
|
||||||
|
|
||||||
fakeInputFile := "fake-input-file"
|
fakeInputFile := "fake-input-file"
|
||||||
expectedExitStatus := 1
|
expectedExitStatus := 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue