Skip to content

Commit

Permalink
chore(deps): upgrade go-akt to 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Tochemey committed Nov 7, 2023
1 parent 515bdd3 commit 63d3a84
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
10 changes: 6 additions & 4 deletions actor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,9 @@ func TestActor(t *testing.T) {
// create an actor system
actorSystem, err := actors.NewActorSystem("TestActorSystem",
actors.WithPassivationDisabled(),
actors.WithLogger(log.DiscardLogger),
actors.WithActorInitMaxRetries(3))
actors.WithLogger(log.DefaultLogger),
actors.WithActorInitMaxRetries(3),
)
require.NoError(t, err)
assert.NotNil(t, actorSystem)

Expand Down Expand Up @@ -340,7 +341,8 @@ func TestActor(t *testing.T) {
// create the persistence actor using the behavior previously created
persistentActor := newActor[*testpb.Account](behavior, eventStore, eventStream)
// spawn the actor
pid, _ := actorSystem.Spawn(ctx, behavior.ID(), persistentActor)
pid, err := actorSystem.Spawn(ctx, behavior.ID(), persistentActor)
require.NoError(t, err)
require.NotNil(t, pid)

var command proto.Message
Expand Down Expand Up @@ -401,7 +403,7 @@ func TestActor(t *testing.T) {

// restart the actor
pid, err = actorSystem.ReSpawn(ctx, behavior.ID())
assert.NoError(t, err)
require.NoError(t, err)

// fetch the current state
command = &egopb.GetStateCommand{}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/hashicorp/go-memdb v1.3.4
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.8.4
github.com/tochemey/goakt v1.3.2
github.com/tochemey/goakt v1.3.3
github.com/tochemey/gopack v0.0.0-20231019012242-829c971eb3ae
github.com/travisjeffery/go-dynaport v1.0.0
go.opentelemetry.io/otel v1.19.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
github.com/tidwall/redcon v1.6.2 h1:5qfvrrybgtO85jnhSravmkZyC0D+7WstbfCs3MmPhow=
github.com/tidwall/redcon v1.6.2/go.mod h1:p5Wbsgeyi2VSTBWOcA5vRXrOb9arFTcU2+ZzFjqV75Y=
github.com/tochemey/goakt v1.3.2 h1:1Q13JjTTwxbtVYcFOrkN19AGIOQCyvGMTwnG8RXgKNg=
github.com/tochemey/goakt v1.3.2/go.mod h1:xekQnOJIxOR0aAZ2KuyuAJZ6/u6BZ6mwgA2eCJTL+6A=
github.com/tochemey/goakt v1.3.3 h1:OQIBLa493Ty8cRpFtKXf4NaM5rAyHo7U60zK4qOPdcI=
github.com/tochemey/goakt v1.3.3/go.mod h1:xekQnOJIxOR0aAZ2KuyuAJZ6/u6BZ6mwgA2eCJTL+6A=
github.com/tochemey/gopack v0.0.0-20231019012242-829c971eb3ae h1:r+Gqgi7sEQnISkw66AFKz/uDCNUoc+OC7GODWJD0Udc=
github.com/tochemey/gopack v0.0.0-20231019012242-829c971eb3ae/go.mod h1:mCrvdY5bUA9OyGV+RoT+XhJjSEJ1gOBN17VN5nohS3Q=
github.com/travisjeffery/go-dynaport v1.0.0 h1:m/qqf5AHgB96CMMSworIPyo1i7NZueRsnwdzdCJ8Ajw=
Expand Down

0 comments on commit 63d3a84

Please sign in to comment.