mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
avoid regression in events test
Docker-DCO-1.1-Signed-off-by: Samuel Reis <srijs@airpost.net> (github: srijs)
This commit is contained in:
parent
46747963b6
commit
560eb07009
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ func TestCLILimitEvents(t *testing.T) {
|
||||||
out, _, _ := runCommandWithOutput(eventsCmd)
|
out, _, _ := runCommandWithOutput(eventsCmd)
|
||||||
events := strings.Split(out, "\n")
|
events := strings.Split(out, "\n")
|
||||||
n_events := len(events) - 1
|
n_events := len(events) - 1
|
||||||
if n_events > 64 {
|
if n_events != 64 {
|
||||||
t.Fatalf("events should be limited to 64, but received %d", n_events)
|
t.Fatalf("events should be limited to 64, but received %d", n_events)
|
||||||
}
|
}
|
||||||
logDone("events - limited to 64 entries")
|
logDone("events - limited to 64 entries")
|
||||||
|
|
Loading…
Reference in a new issue