Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
qorus
prometheus
Commits
45c8b084
Commit
45c8b084
authored
Jan 16, 2019
by
Ryan Leung
Committed by
Simon Pasquier
Jan 16, 2019
Browse files
fix TestFailedStartupExitCode (#5076)
Signed-off-by:
rleungx
<
rleungx@gmail.com
>
parent
22a1def9
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmd/prometheus/main_test.go
View file @
45c8b084
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment