Skip to content

Commit 1a3e5b4

Browse files
authored
Merge pull request #1920 from sap-contributions/feature/test-for-ccng-app-logs
Add acceptance test for Cloud Controller API log emission
2 parents 1731314 + f7f7964 commit 1a3e5b4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

apps/running_log.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,10 @@ var _ = AppsDescribe("app logs", func() {
6060
return logs.Recent(appName).Wait().Out
6161
}).Should(Say(fmt.Sprintf("\\[APP(.*)/0\\]\\s*ERR %s", message)))
6262
})
63+
64+
It("captures [API/*] logs emitted by the Cloud Controller", func() {
65+
Eventually(func() *Buffer {
66+
return logs.Recent(appName).Wait().Out
67+
}).Should(Say(`\[API/\d+\]\s*OUT Created app with guid `))
68+
})
6369
})

0 commit comments

Comments
 (0)