Skip to content

Commit

Permalink
test/runtime: send output of cilium-agent to logger
Browse files Browse the repository at this point in the history
The kvstore test stops the cilium service, and starts the process directly. Thus, no logs are
sent to syslog; edit the command which runs the cilium-agent to send output to syslog
for debugging.

Signed-off by: Ian Vernon <ian@cilium.io>
  • Loading branch information
Ian Vernon authored and tgraf committed Mar 29, 2018
1 parent a137867 commit 8864c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtime/kvstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ var _ = Describe("RuntimeValidatedKVStoreTest", func() {
defer cancel()
vm.ExecContext(
ctx,
"sudo cilium-agent --kvstore etcd --kvstore-opt etcd.address=127.0.0.1:4001")
"sudo cilium-agent --kvstore etcd --kvstore-opt etcd.address=127.0.0.1:4001 2>&1 | logger -t cilium")
err := vm.WaitUntilReady(150)
Expect(err).Should(BeNil())

Expand Down

0 comments on commit 8864c72

Please sign in to comment.