Merge remote-tracking branch 'origin/master'

This commit is contained in:
snoop 2017-08-04 12:08:36 +09:00
commit 611669c0b8
3 changed files with 3 additions and 5 deletions

View File

@ -6,8 +6,8 @@ import (
"git.loafle.net/overflow/overflow_probe/agent_api/messages" "git.loafle.net/overflow/overflow_probe/agent_api/messages"
pb "git.loafle.net/overflow/overflow_probe/crawler/grpc" pb "git.loafle.net/overflow/overflow_probe/crawler/grpc"
q "git.loafle.net/overflow/overflow_probe/queue" q "git.loafle.net/overflow/overflow_probe/queue"
"io/ioutil"
log "github.com/cihub/seelog" log "github.com/cihub/seelog"
"io/ioutil"
"os" "os"
"sync" "sync"
) )
@ -180,4 +180,3 @@ func tempFile() (*os.File, error) {
return file, nil return file, nil
} }

View File

@ -20,12 +20,12 @@ func TestTotal(t *testing.T) {
time.Sleep(time.Second * 5) time.Sleep(time.Second * 5)
for i := 0; i < 20; i++ { for i := 0; i < 20; i++ {
testNotify(strconv.Itoa(i)) //testNotify(strconv.Itoa(i))
} }
time.Sleep(time.Second * 12) time.Sleep(time.Second * 12)
for i := 20; i < 30; i++ { for i := 20; i < 30; i++ {
testNotify(strconv.Itoa(i)) //testNotify(strconv.Itoa(i))
} }
time.Sleep(time.Second * 100) time.Sleep(time.Second * 100)

View File

@ -147,4 +147,3 @@ func (es *EventSender) send(data []*messages.Event) {
} }
log.Debug(out) log.Debug(out)
} }