fix(stf): fixes to make init genesis pass (#21088)

Co-authored-by: marbar3778 <marbar3778@yahoo.com>
This commit is contained in:
Alexander Peters
2024-07-27 18:11:24 +00:00
committed by GitHub
co-authored by marbar3778
parent 2e0884564f
commit b05bb2601e
8 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ type AsyncListenerOptions struct {
BufferSize int
// DoneWaitGroup is an optional wait-group that listener goroutines will notify via Add(1) when they are started
// and Done() after they are cancelled and completed.
// and Done() after they are canceled and completed.
DoneWaitGroup *sync.WaitGroup
}
+1
View File
@@ -119,6 +119,7 @@ func callCollector(i int, onCall func(string, int, Packet)) Listener {
}
func checkExpectedCallOrder(t *testing.T, actual, expected []string) {
t.Helper()
if len(actual) != len(expected) {
t.Fatalf("expected %d calls, got %d", len(expected), len(actual))
}