Skip to content

Commit

Permalink
Update imports due to rename of repo nats to go-nats
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlovic committed Nov 21, 2016
1 parent 46225c6 commit 4a5993b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
5 changes: 2 additions & 3 deletions examples/stan-bench.go
Expand Up @@ -11,10 +11,9 @@ import (
"sync"
"time"

"github.com/nats-io/go-nats"
"github.com/nats-io/go-nats-streaming"
"github.com/nats-io/nats"
"github.com/nats-io/nats/bench"

"github.com/nats-io/go-nats/bench"
)

// Some sane defaults
Expand Down
2 changes: 1 addition & 1 deletion stan.go
Expand Up @@ -10,8 +10,8 @@ import (
"sync"
"time"

"github.com/nats-io/go-nats"
"github.com/nats-io/go-nats-streaming/pb"
"github.com/nats-io/nats"
"github.com/nats-io/nuid"
)

Expand Down
9 changes: 4 additions & 5 deletions stan_test.go
Expand Up @@ -18,13 +18,12 @@ import (
"testing"
"time"

natsd "github.com/nats-io/gnatsd/test"
"github.com/nats-io/go-nats"
"github.com/nats-io/go-nats-streaming/pb"
"github.com/nats-io/nats"
natstest "github.com/nats-io/go-nats/test"
"github.com/nats-io/nats-streaming-server/server"
"github.com/nats-io/nats-streaming-server/test"
natstest "github.com/nats-io/nats/test"

natsd "github.com/nats-io/gnatsd/test"
)

func RunServer(ID string) *server.StanServer {
Expand Down Expand Up @@ -1245,7 +1244,7 @@ func TestDurableSubscriber(t *testing.T) {
if nr := atomic.AddInt32(&received, 1); nr == 10 {
// Reduce risk of test failure by allowing server to
// process acks before processing Close() requesting
time.Sleep(500 * time.Millisecond)
time.Sleep(time.Second)
sc.Close()
ch <- true
} else {
Expand Down
2 changes: 1 addition & 1 deletion sub.go
Expand Up @@ -8,8 +8,8 @@ import (
"sync"
"time"

"github.com/nats-io/go-nats"
"github.com/nats-io/go-nats-streaming/pb"
"github.com/nats-io/nats"
)

const (
Expand Down

0 comments on commit 4a5993b

Please sign in to comment.