From 5fa3a6f2482521d5731c43e076926f2f5318aa94 Mon Sep 17 00:00:00 2001 From: Alexandr Morozov Date: Mon, 6 Apr 2015 13:39:02 -0700 Subject: [PATCH] Pass right timestamp instead of crap from string(int64) Problem is that --since can consume anything not near looking as timestamp. Signed-off-by: Alexandr Morozov --- integration-cli/docker_cli_events_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-cli/docker_cli_events_test.go b/integration-cli/docker_cli_events_test.go index a41b753af..f69904dba 100644 --- a/integration-cli/docker_cli_events_test.go +++ b/integration-cli/docker_cli_events_test.go @@ -425,7 +425,7 @@ func TestEventsStreaming(t *testing.T) { eventDestroy := make(chan struct{}) go func() { - eventsCmd := exec.Command(dockerBinary, "events", "--since", string(start)) + eventsCmd := exec.Command(dockerBinary, "events", "--since", strconv.FormatInt(start, 10)) stdout, err := eventsCmd.StdoutPipe() if err != nil { t.Fatal(err)