mirror of
https://github.com/moby/moby.git
synced 2025-10-24 09:13:09 +03:00
integration-cli: use string-literals for easier grep'ing
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -414,21 +414,21 @@ func (s *DockerDaemonSuite) TestDaemonEvents(c *testing.T) {
|
||||
// only check for values known (daemon ID/name) or explicitly set above,
|
||||
// otherwise just check for names being present.
|
||||
expectedSubstrings := []string{
|
||||
" daemon reload " + info.ID + " ",
|
||||
"(allow-nondistributable-artifacts=[",
|
||||
" debug=true, ",
|
||||
" default-ipc-mode=",
|
||||
" default-runtime=",
|
||||
" default-shm-size=",
|
||||
" insecure-registries=[",
|
||||
" labels=[\"bar=foo\"], ",
|
||||
" live-restore=",
|
||||
" max-concurrent-downloads=1, ",
|
||||
" max-concurrent-uploads=5, ",
|
||||
" name=" + info.Name,
|
||||
" registry-mirrors=[",
|
||||
" runtimes=",
|
||||
" shutdown-timeout=10)",
|
||||
` daemon reload ` + info.ID + " ",
|
||||
`(allow-nondistributable-artifacts=[`,
|
||||
` debug=true, `,
|
||||
` default-ipc-mode=`,
|
||||
` default-runtime=`,
|
||||
` default-shm-size=`,
|
||||
` insecure-registries=[`,
|
||||
` labels=["bar=foo"], `,
|
||||
` live-restore=`,
|
||||
` max-concurrent-downloads=1, `,
|
||||
` max-concurrent-uploads=5, `,
|
||||
` name=` + info.Name,
|
||||
` registry-mirrors=[`,
|
||||
` runtimes=`,
|
||||
` shutdown-timeout=10)`,
|
||||
}
|
||||
|
||||
for _, s := range expectedSubstrings {
|
||||
|
||||
Reference in New Issue
Block a user