1
0
Fork 0
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:
Sam Rijs 2014-07-09 09:35:08 +10:00 committed by Victor Vieux
parent 46747963b6
commit 560eb07009

View file

@ -65,7 +65,7 @@ func TestCLILimitEvents(t *testing.T) {
out, _, _ := runCommandWithOutput(eventsCmd)
events := strings.Split(out, "\n")
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)
}
logDone("events - limited to 64 entries")