mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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 <lk4d4@docker.com>
This commit is contained in:
parent
37a16580b1
commit
5fa3a6f248
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue