mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 01:56:55 +00:00
Add comments, add dumpStackOnCtrlZ() for tests
This commit is contained in:
parent
18c1abd3e3
commit
89ff64f52c
9 changed files with 42 additions and 5 deletions
|
@ -11,6 +11,7 @@ import (
|
|||
"sync"
|
||||
"syscall"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TestSubscriptionAndPublish(t *testing.T) {
|
||||
|
@ -132,6 +133,7 @@ func TestSubscriptionAndPublish(t *testing.T) {
|
|||
|
||||
doneWg.Add(1)
|
||||
readyWg.Wait() // enforce ordering
|
||||
time.Sleep(2 * time.Millisecond)
|
||||
readyWg.Add(1)
|
||||
go func(conn *websocket.Conn) {
|
||||
TSendMessage(t, conn, 1, HelloCommand, []interface{}{"ffz_0.0-test", uuid.NewV4().String()})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue