Merge pull request #5 from terra-project/develop

Bugfix/testcode
This commit is contained in:
yys 2019-08-08 18:15:41 +09:00 committed by GitHub
commit 2764cab0fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import (
"bytes"
"log"
"strings"
"time"
"testing"
"github.com/stretchr/testify/require"
@ -12,6 +13,9 @@ import (
func TestWebsocketListen(t *testing.T) {
app := setupWithPlentyBalanceAccount(t)
// DO NOT TOUCH - wait next block
time.Sleep(time.Second * 10)
var logBuf bytes.Buffer
log.SetOutput(&logBuf)
defer log.SetOutput(os.Stderr)