mirror of
https://github.com/patriceckhart/zot.git
synced 2026-06-26 21:36:31 +02:00
Close swarm event log in follower test
This commit is contained in:
parent
d7fe461910
commit
63e28ad156
1 changed files with 1 additions and 0 deletions
|
|
@ -171,6 +171,7 @@ func TestFollowerEmitsNewEvents(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatalf("open: %v", err)
|
||||
}
|
||||
defer log.Close()
|
||||
if err := log.Append(NewEvent("preexisting", nil)); err != nil {
|
||||
t.Fatalf("append: %v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue