Fix string match on `HTTP server is running on port x`

Signed-off-by: joshvanl <me@joshvanl.dev>
This commit is contained in:
joshvanl 2023-09-18 19:11:54 +01:00
parent 6fde6253db
commit cfb70ceb03
1 changed files with 5 additions and 5 deletions

View File

@ -80,7 +80,7 @@ func TestRunWithTemplateFile(t *testing.T) {
appID: "processor", appID: "processor",
baseLogDirPath: "../../apps/processor/.dapr/logs", baseLogDirPath: "../../apps/processor/.dapr/logs",
daprdLogContent: []string{ daprdLogContent: []string{
"http server is running on port 3510", "HTTP server is running on port 3510",
"You're up and running! Dapr logs will appear here.", "You're up and running! Dapr logs will appear here.",
}, },
} }
@ -136,7 +136,7 @@ func TestRunWithTemplateFile(t *testing.T) {
"Received metrics: {1}", "Received metrics: {1}",
}, },
daprdLogContent: []string{ daprdLogContent: []string{
"http server is running on port 3510", "HTTP server is running on port 3510",
"You're up and running! Dapr logs will appear here.", "You're up and running! Dapr logs will appear here.",
}, },
} }
@ -188,7 +188,7 @@ func TestRunWithTemplateFile(t *testing.T) {
appID: "processor", appID: "processor",
baseLogDirPath: "../../apps/processor/.dapr/logs", baseLogDirPath: "../../apps/processor/.dapr/logs",
daprdLogContent: []string{ daprdLogContent: []string{
"http server is running on port 3510", "HTTP server is running on port 3510",
"You're up and running! Dapr logs will appear here.", "You're up and running! Dapr logs will appear here.",
}, },
} }
@ -244,7 +244,7 @@ func TestRunWithTemplateFile(t *testing.T) {
"termination signal received: shutting down", "termination signal received: shutting down",
}, },
daprdLogContent: []string{ daprdLogContent: []string{
"http server is running on port 3510", "HTTP server is running on port 3510",
"You're up and running! Dapr logs will appear here.", "You're up and running! Dapr logs will appear here.",
}, },
} }
@ -292,7 +292,7 @@ func TestRunWithTemplateFile(t *testing.T) {
"termination signal received: shutting down", "termination signal received: shutting down",
}, },
daprdLogContent: []string{ daprdLogContent: []string{
"http server is running on port 3510", "HTTP server is running on port 3510",
"You're up and running! Dapr logs will appear here.", "You're up and running! Dapr logs will appear here.",
}, },
} }