long_poller_go/poller_test.go
insanity@loafle.com 37b37b5870 long poller
2017-05-11 20:07:05 +09:00

21 lines
375 B
Go

package long_poller_go
import (
"loafle.com/overflow/agent_api/observer"
"loafle.com/overflow/agent_api/observer/messages"
"testing"
"time"
)
func TestPolling(t *testing.T) {
poller := &Poller{}
poller.start()
}
func TestTotal(t *testing.T) {
time.Sleep(time.Second * 5)
observer.Notify(messages.CFG_LOADED, "") //CONFIG LOCATION
time.Sleep(time.Second * 100)
}