avoid regression in events test
Docker-DCO-1.1-Signed-off-by: Samuel Reis <srijs@airpost.net> (github: srijs) Upstream-commit: 560eb07009d65fbcfb49b2fa8b04a2e3f4d647e8 Component: engine
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user